[package] name = "rnetmgr" version = "0.2.3" description = "A simple network manager." authors = ["Seimizu Joukan "] edition = "2018" repository = "https://gitlab.com/joukan/netmgr.git" license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] name = "rnetmgr_lib" path = "src/lib.rs" [[bin]] name = "rnetmon" path = "src/main.rs" [[bin]] name = "rnetmon_client" path = "src/rnetmon_client.rs" [dependencies] futures = "0.3.19" ipnetwork = "0.18.0" serde = "1.0" serde_derive = "1.0" serde_json = "1.0" clap = { version = "4.0.29", features = ["derive"] } tokio = {version = "1", features = ["full"]} cfg-if = "1.0.0" ipcon-sys = { version="0.2.0", features = ["async"], optional=true} error-stack = "0.2" jlogger-tracing = "0.1" tracing = "0.1.37" rtnetlink = "0.11.0" netlink-packet-route = "0.13.0" netlink-packet-core = "0.4.2" [features] default = ["enable_ipcon"] enable_ipcon = ["ipcon-sys"] [build-dependencies] jlogger-tracing = "0.1"