[[bin]]
name = "denet"
path = "src/bin/denet.rs"
[[bin]]
name = "ebpf_diag"
path = "src/bin/ebpf_diag.rs"
required-features = ["ebpf"]
[dependencies.clap]
features = ["derive"]
version = "4.5"
[dependencies.colored]
version = "2.1"
[dependencies.crossterm]
version = "0.29"
[dependencies.ctrlc]
version = "3.4"
[dependencies.log]
version = "0.4"
[dependencies.pyo3]
features = ["extension-module", "auto-initialize"]
optional = true
version = "0.21"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sysinfo]
version = "0.35.2"
[dependencies.tabled]
version = "0.16"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1"
[dev-dependencies.once_cell]
version = "1.21"
[dev-dependencies.tempfile]
version = "3.0"
[features]
default = []
ebpf = ["dep:aya", "dep:aya-log"]
python = ["dep:pyo3"]
[lib]
crate-type = ["rlib", "cdylib"]
name = "denet"
path = "src/lib.rs"
[package]
authors = ["ben <ben.uzh@proton.me>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "a simple process monitor"
documentation = "https://docs.rs/denet"
edition = "2021"
homepage = "https://github.com/btraven00/denet"
keywords = ["profiling", "monitor", "cpu", "resources"]
license = "GPL-3.0-or-later"
name = "denet"
readme = "README.md"
repository = "https://github.com/btraven00/denet"
version = "0.4.1"
[target.'cfg(target_os = "linux")'.dependencies.aya]
optional = true
version = "0.12.0"
[target.'cfg(target_os = "linux")'.dependencies.aya-log]
optional = true
version = "0.2"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.17"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "config_tests"
path = "tests/config_tests.rs"
[[test]]
name = "constants_tests"
path = "tests/constants_tests.rs"
[[test]]
name = "cpu_sampler_tests"
path = "tests/cpu_sampler_tests.rs"
[[test]]
name = "cpu_stress_test"
path = "tests/cpu_stress_test.rs"
[[test]]
name = "disk_io_test"
path = "tests/disk_io_test.rs"
[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"
[[test]]
name = "error_tests"
path = "tests/error_tests.rs"
[[test]]
name = "lib_tests"
path = "tests/lib_tests.rs"
[[test]]
name = "metadata_tests"
path = "tests/metadata_tests.rs"
[[test]]
name = "monitoring_integration_tests"
path = "tests/monitoring_integration_tests.rs"