mirror of
https://github.com/domcyrus/rustnet.git
synced 2026-04-27 23:43:41 -05:00
57 lines
1.5 KiB
TOML
57 lines
1.5 KiB
TOML
[package]
|
|
name = "rustnet-monitor"
|
|
version = "0.10.0"
|
|
authors = ["domcyrus"]
|
|
edition = "2024"
|
|
rust-version = "1.88.0" # Let-chains require Rust 1.88.0+
|
|
description = "A high-performance, cross-platform network monitoring terminal UI tool built with Rust"
|
|
repository = "https://github.com/domcyrus/rustnet"
|
|
homepage = "https://github.com/domcyrus/rustnet"
|
|
documentation = "https://docs.rs/rustnet-monitor"
|
|
readme = "README.md"
|
|
license = "Apache-2.0"
|
|
keywords = ["network", "monitoring", "tui", "terminal", "packet-capture"]
|
|
categories = ["command-line-utilities", "network-programming", "visualization"]
|
|
exclude = [".github/", "scripts/", "tests/", "*.log", "target/", ".gitignore"]
|
|
|
|
[lib]
|
|
name = "rustnet_monitor"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "rustnet"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
arboard = "3.6"
|
|
crossterm = "0.29"
|
|
crossbeam = "0.8"
|
|
dashmap = "6.1"
|
|
dns-lookup = "3.0"
|
|
log = "0.4"
|
|
num_cpus = "1.17"
|
|
pcap = "2.3.0"
|
|
pnet_datalink = "0.35"
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
simple-logging = "2.0"
|
|
simplelog = "0.12"
|
|
chrono = "0.4"
|
|
ratatui = { version = "0.29", features = ["all-widgets"] }
|
|
ring = "0.17"
|
|
aes = "0.8"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
procfs = "0.16"
|
|
libbpf-rs = { version = "0.25", optional = true }
|
|
libbpf-sys = { version = "1.4", optional = true }
|
|
bytes = { version = "1.5", optional = true }
|
|
libc = { version = "0.2", optional = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.build-dependencies]
|
|
libbpf-cargo = "0.25"
|
|
|
|
[features]
|
|
default = []
|
|
ebpf = ["libbpf-rs", "libbpf-sys", "bytes", "libc"]
|