Files
roowho2/Cargo.toml
h7x4 dd23346bda
All checks were successful
Build and test / check (push) Successful in 59s
Build and test / build (push) Successful in 1m37s
Build and test / test (push) Successful in 3m3s
Build and test / docs (push) Successful in 2m52s
nix: add clap completions
2026-01-09 05:19:40 +09:00

79 lines
1.6 KiB
TOML

[package]
name = "roowho2"
version = "0.1.0"
edition = "2024"
resolver = "2"
license = "BSD3"
authors = [
"projects@pvv.ntnu.no",
]
description = "A modern reimplementation of netkit tools"
categories = ["command-line-interface", "command-line-utilities"]
readme = "README.md"
autobins = false
autolib = false
[dependencies]
anyhow = "1.0.100"
bytes = "1.11.0"
chrono = { version = "0.4.42", features = ["serde"] }
clap = { version = "4.5.53", features = ["derive"] }
futures-util = "0.3.31"
nix = { version = "0.30.1", features = ["hostname", "net"] }
serde = { version = "1.0.228", features = ["derive"] }
tokio = { version = "1.49.0", features = ["macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
toml = "0.9.10"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
# onc-rpc = "0.3.2"
sd-notify = "0.4.5"
serde_json = "1.0.148"
uucore = { version = "0.5.0", features = ["utmpx"] }
zlink = { version = "0.2.0", features = ["introspection"] }
clap_complete = "4.5.65"
[lib]
name = "roowho2_lib"
path = "src/lib.rs"
[[bin]]
name = "roowhod"
bench = false
path = "src/bin/roowhod.rs"
# [[bin]]
# name = "finger"
# bench = false
# path = "src/bin/finger.rs"
# [[bin]]
# name = "rup"
# bench = false
# path = "src/bin/rup.rs"
[[bin]]
name = "ruptime"
bench = false
path = "src/bin/ruptime.rs"
# [[bin]]
# name = "rusers"
# bench = false
# path = "src/bin/rusers.rs"
# [[bin]]
# name = "rwall"
# bench = false
# path = "src/bin/rwall.rs"
[[bin]]
name = "rwho"
bench = false
path = "src/bin/rwho.rs"
[profile.releaselto]
inherits = "release"
strip = true
lto = true
codegen-units = 1