2026-07-14 20:10:29 +02:00
|
|
|
[package]
|
|
|
|
|
name = "varde-daemon"
|
|
|
|
|
description = "varde: content-addressed blob mirror daemon on iroh"
|
|
|
|
|
version.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
repository.workspace = true
|
|
|
|
|
rust-version.workspace = true
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "varde-daemon"
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
varde-proto = { workspace = true }
|
2026-07-14 22:27:58 +02:00
|
|
|
iroh = { workspace = true, features = ["discovery-local-network"] }
|
2026-07-14 20:47:11 +02:00
|
|
|
iroh-blobs = { workspace = true }
|
2026-07-14 21:18:25 +02:00
|
|
|
rand = "0.8"
|
2026-07-14 22:27:58 +02:00
|
|
|
# The next three exist to interoperate with iroh-blobs trait signatures
|
|
|
|
|
# and channels; all are already in the dependency tree via iroh.
|
|
|
|
|
n0-future = "0.1"
|
|
|
|
|
async-channel = "2"
|
|
|
|
|
futures-lite = "2"
|
|
|
|
|
bytes = "1"
|
2026-07-15 08:07:24 +02:00
|
|
|
# Feature-gated D-Bus client for NetworkManager metered status.
|
|
|
|
|
zbus = { version = "5", optional = true, default-features = false, features = ["tokio"] }
|
2026-07-14 20:47:11 +02:00
|
|
|
iroh-io = { workspace = true }
|
|
|
|
|
reflink-copy = { workspace = true }
|
2026-07-14 20:10:29 +02:00
|
|
|
anyhow = { workspace = true }
|
|
|
|
|
serde = { workspace = true }
|
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
|
thiserror = { workspace = true }
|
|
|
|
|
tokio = { workspace = true }
|
|
|
|
|
toml = { workspace = true }
|
|
|
|
|
tracing = { workspace = true }
|
|
|
|
|
tracing-subscriber = { workspace = true }
|
|
|
|
|
|
2026-07-15 08:07:24 +02:00
|
|
|
[features]
|
|
|
|
|
# Metered-connection detection via NetworkManager over D-Bus. On by
|
|
|
|
|
# default; disable for systems without D-Bus (they run as unmetered).
|
|
|
|
|
default = ["metered"]
|
|
|
|
|
metered = ["dep:zbus"]
|
|
|
|
|
|
2026-07-14 20:10:29 +02:00
|
|
|
[dev-dependencies]
|
|
|
|
|
tempfile = "3"
|
2026-07-14 20:47:11 +02:00
|
|
|
proptest = "1"
|
2026-07-14 22:27:58 +02:00
|
|
|
tokio = { workspace = true, features = ["test-util"] }
|