winload 0.1.11

Network Load Monitor — nload-like TUI tool for Windows/Linux/macOS
# 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"
name = "winload"
version = "0.1.11"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Network Load Monitor — nload-like TUI tool for Windows/Linux/macOS"
readme = "readme.md"
license = "MIT"

[package.metadata.deb]
maintainer = "VincentZyu <vincentzyu233@gmail.com>"
copyright = "2025-2026, VincentZyu"
extended-description = "A lightweight, real-time CLI tool for monitoring network bandwidth and traffic. Cross-platform alternative to nload."
depends = ""
section = "net"
priority = "optional"
assets = [[
    "target/release/winload",
    "usr/bin/winload",
    "755",
]]

[[package.metadata.generate-rpm.assets]]
source = "target/release/winload"
dest = "/usr/bin/winload"
mode = "755"

[features]
default = ["npcap"]
npcap = ["pcap"]

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

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

[dependencies.crossterm]
version = "0.28"

[dependencies.ratatui]
version = "0.29"

[dependencies.sysinfo]
version = "0.32"

[dependencies.unicode-width]
version = "0.2"

[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.pcap]
version = "2"
optional = true

[profile.release]
opt-level = 3
lto = true
strip = true