spacedrive/crates/p2p/Cargo.toml
Oscar Beaumont 6941912891
[ENG-1399] Upgrade Rust workspace + IPv6 mDNS (#1729)
Upgrade Rust workspace + IPv6 mDNS
2023-11-04 10:20:22 +00:00

51 lines
1.4 KiB
TOML

[package]
name = "sd-p2p"
version = "0.1.0"
description = "Rust Peer to Peer Networking Library"
authors = ["Oscar Beaumont <oscar@otbeaumont.me>"]
readme = "README.md"
license = { workspace = true }
repository = { workspace = true }
edition = { workspace = true }
[features]
default = []
serde = []
specta = []
[dependencies]
tokio = { workspace = true, features = [
"macros",
"sync",
"time",
"io-util",
"fs",
] }
libp2p = { version = "0.52.4", features = ["tokio", "serde"] }
libp2p-quic = { version = "0.9.3", features = ["tokio"] }
if-watch = { version = "=3.1.0", features = [
"tokio",
] } # Override the features of if-watch which is used by libp2p-quic
mdns-sd = "0.9.3"
thiserror = "1.0.50"
tracing = { workspace = true }
serde = { version = "1.0.190", features = [
"derive",
] } # TODO: Optional or remove feature
specta = { workspace = true }
flume = "0.10.0" # Must match version used by `mdns-sd`
tokio-util = { version = "0.7.10", features = ["compat"] }
ed25519-dalek = { version = "2.0.0", features = [] }
rand_core = { version = "0.6.4" }
uuid = "1.5.0"
streamunordered = "0.5.3"
futures-core = "0.3.29"
tokio-stream = { version = "0.1.14", features = ["sync"] }
pin-project-lite = "0.2.13"
base64 = "0.21.5"
[dev-dependencies]
tokio = { workspace = true, features = ["rt-multi-thread"] }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
uuid = { version = "1.5.0", features = ["v4"] }