swactor/crates/distribution/Cargo.toml

26 lines
909 B
TOML

[package]
name = "distribution"
version = "0.1.0"
edition = "2024"
[features]
default = ["tcp"]
tcp = ["dep:swactor-transport", "swactor-transport/tcp"]
iroh = ["dep:iroh", "dep:tokio"]
relay = ["iroh", "dep:iroh-relay"]
[dependencies]
swactor = { path = "../..", features = ["serde", "transport"] }
swactor-transport = { path = "../transport", optional = true }
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"] }