swactor/crates/distribution/Cargo.toml
Zachery Aaron Shores-Chmielewski 258f2fecb7 fix: idle cpu usage and distribution
CPU use on idle down from 17% to 1.5% via lazy runtime execution. Turned down SWIM gossip frequency.
2026-02-25 00:23:15 +07:00

24 lines
784 B
TOML

[package]
name = "distribution"
version = "0.1.0"
edition = "2024"
[features]
default = []
iroh = ["dep:iroh", "dep:tokio"]
relay = ["iroh", "dep:iroh-relay"]
[dependencies]
swactor = { path = "../..", features = ["serde", "transport"] }
ed25519-dalek = { version = "2", features = ["rand_core"] }
rand_core = { version = "0.6", features = ["getrandom"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
iroh = { version = "0.96", optional = true }
iroh-relay = { version = "0.96", features = ["server"], optional = true }
tokio = { version = "1", features = ["rt-multi-thread"], optional = true }
[dev-dependencies]
serde_json = "1"
iroh-relay = { version = "0.96", features = ["server", "test-utils"] }
tokio = { version = "1", features = ["rt-multi-thread"] }