netwatch-rs 0.2.0

A modern network traffic monitor for Unix systems, inspired by nload but written in Rust
Documentation
# 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 = "2021"
rust-version = "1.70"
name = "netwatch-rs"
version = "0.2.0"
authors = ["Netwatch Contributors"]
build = false
exclude = [
    "debug.log",
    "target/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern network traffic monitor for Unix systems, inspired by nload but written in Rust"
homepage = "https://github.com/vietcgi/netwatch"
documentation = "https://docs.rs/netwatch"
readme = "README.md"
keywords = [
    "network",
    "monitoring",
    "bandwidth",
    "traffic",
    "cli",
]
categories = [
    "command-line-utilities",
    "network-programming",
    "visualization",
]
license = "MIT"
repository = "https://github.com/vietcgi/netwatch"

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

[[bin]]
name = "netwatch"
path = "src/main.rs"

[[example]]
name = "demo"
path = "examples/demo.rs"

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.0"
features = ["derive"]

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "6.0"

[dependencies.libc]
version = "0.2"

[dependencies.ratatui]
version = "0.29"

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

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.9"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.cargo-husky]
version = "1.5"
features = [
    "precommit-hook",
    "run-cargo-test",
    "run-cargo-fmt",
    "run-cargo-clippy",
]
default-features = false

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

[dev-dependencies.predicates]
version = "3.0"

[dev-dependencies.tempfile]
version = "3.0"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"