# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "muxtop-core"
version = "0.2.0"
authors = ["Lucas Schimmel"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core data collection engine for muxtop"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/lanexadev/muxtop"

[lib]
name = "muxtop_core"
path = "src/lib.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[bench]]
name = "network_bench"
path = "benches/network_bench.rs"
harness = false

[[bench]]
name = "process_bench"
path = "benches/process_bench.rs"
harness = false

[[bench]]
name = "snapshot_bench"
path = "benches/snapshot_bench.rs"
harness = false

[dependencies.bincode]
version = "2"

[dependencies.libc]
version = "0.2"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.sysinfo]
version = "0.34"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "signal",
    "time",
    "net",
    "io-util",
]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
