bin = [
{ name = "bandwidthmon", path = "src/bandwidthmon.rs" },
{ name = "bandwidthmon2", path = "src/bandwidthmon2.rs" },
{ name = "bandwidthmon3", path = "src/bandwidthmon3.rs" },
]
[package]
name = "bandwidthmon"
version = "0.1.13"
edition = "2024"
rust-version = "1.86"
authors = [
"Hadi Cahyadi <cumulus13@gmail.com>",
]
description = "Real-time network bandwidth monitor with beautiful ASCII charts"
license = "MIT"
repository = "https://github.com/cumulus13/bandwidthmon"
homepage = "https://github.com/cumulus13/bandwidthmon"
documentation = "https://docs.rs/bandwidthmon"
keywords = [
"network",
"bandwidth",
"monitor",
"terminal",
"cli",
]
categories = [
"command-line-utilities",
"network-programming",
]
readme = "README.md"
exclude = [
".github/*",
".gitignore",
"build.sh",
"build.bat",
"CHANGELOG.md",
"DEPLOYMENT_GUIDE.md",
"FIXED_APPLIED.md",
"FLICKER_FIX.md",
"PROJECT_STRUCTURE.md",
"PUBLISH.md",
"SMOOTH_RENDERING.md",
"bandwidthmon.exe",
"bandwidthmon2.exe",
"bandwidthmon.sublime-project",
"bandwidthmon.sublime-workspace",
]
[dependencies]
crossterm = "0.28"
colored = "3.0.0"
term_size = "0.3.2"
sysinfo = "0.36"
rasciichart = "0.2.16"
anyhow = "1.0"
ctrlc = "3.5"
regex = "1"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"color",
"suggestions",
]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = "abort"
[profile.dev]
opt-level = 0
debug = true
[profile.test]
opt-level = 0
[target."cfg(unix)".dependencies]
libc = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_System_Console",
]