2026-09-21 18:05:42 +01:00
|
|
|
[package]
|
|
|
|
|
name = "tsunagi"
|
|
|
|
|
version = "0.1.0"
|
2026-10-03 02:14:43 +01:00
|
|
|
description = "The tsunagi command line agent."
|
2026-09-21 18:05:42 +01:00
|
|
|
edition.workspace = true
|
|
|
|
|
rust-version.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
repository.workspace = true
|
|
|
|
|
|
2026-10-03 02:14:43 +01:00
|
|
|
[[bin]]
|
|
|
|
|
name = "tsng"
|
|
|
|
|
path = "src/main.rs"
|
2026-09-21 18:05:42 +01:00
|
|
|
|
|
|
|
|
[dependencies]
|
2026-10-03 02:14:43 +01:00
|
|
|
tsunagi-core = { path = "../tsunagi-core", version = "0.1.0", features = ["tun-device", "dns-publish"] }
|
|
|
|
|
tsunagi-wireguard = { path = "../tsunagi-wireguard", version = "0.1.0" }
|
2026-10-11 13:38:40 +01:00
|
|
|
tsunagi-awg = { path = "../tsunagi-awg", version = "0.1.0" }
|
2026-10-03 02:14:43 +01:00
|
|
|
tsunagi-wg-quic = { path = "../tsunagi-wg-quic", version = "0.1.0" }
|
|
|
|
|
tsunagi-tcp-tls = { path = "../tsunagi-tcp-tls", version = "0.1.0" }
|
2026-09-21 18:05:42 +01:00
|
|
|
iroh.workspace = true
|
2026-10-03 02:14:43 +01:00
|
|
|
tokio = { version = "1.53", features = ["rt", "rt-multi-thread", "sync", "time", "macros", "signal"] }
|
2026-09-21 18:05:42 +01:00
|
|
|
tracing.workspace = true
|
2026-10-03 02:14:43 +01:00
|
|
|
tracing-subscriber.workspace = true
|
|
|
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
|
|
|
|
# Already in the tree through clap. `anstream` strips the escapes when stdout
|
|
|
|
|
# is not a terminal and turns on virtual terminal processing on Windows, so
|
|
|
|
|
# colour is never written where it would show up as rubbish.
|
|
|
|
|
anstream = "1.0"
|
|
|
|
|
anstyle = "1.0"
|
2026-10-21 15:40:45 +01:00
|
|
|
serde_json = "1.0"
|
|
|
|
|
tempfile.workspace = true
|
2026-10-03 02:14:43 +01:00
|
|
|
# Local interface addresses, for the diagnostics in `status`.
|
2026-09-21 18:05:42 +01:00
|
|
|
netwatch = "0.19.3"
|
|
|
|
|
|
2026-10-03 02:14:43 +01:00
|
|
|
# Resolving a group name to its gid for `up --control-group`, through a safe
|
|
|
|
|
# wrapper (no unsafe of our own). Unix only.
|
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
|
nix = { version = "0.31", features = ["user"] }
|
2026-09-22 12:34:19 +03:00
|
|
|
|
2026-10-03 14:16:05 +01:00
|
|
|
[target."cfg(windows)".dependencies]
|
|
|
|
|
windows-service = "0.8"
|
|
|
|
|
|
2026-09-21 18:05:42 +01:00
|
|
|
[dev-dependencies]
|
2026-10-03 02:14:43 +01:00
|
|
|
tokio = { version = "1.53", features = ["rt", "rt-multi-thread", "sync", "time", "macros", "process"] }
|
2026-09-21 18:05:42 +01:00
|
|
|
tempfile.workspace = true
|
2026-10-03 02:14:43 +01:00
|
|
|
simple-dns = "0.12"
|
2026-09-21 18:05:42 +01:00
|
|
|
|
|
|
|
|
[lints]
|
|
|
|
|
workspace = true
|