aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml6
1 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e6cd6c6..920cbfe 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@ dashboard = []
# supervises or one running elsewhere.
mycelium = ["dep:reqwest", "dep:rustls", "dep:libc"]
# The libp2p transport (`--libp2p-enable`).
-libp2p = ["dep:libp2p", "dep:libp2p-stream", "dep:futures"]
+libp2p = ["dep:libp2p", "dep:libp2p-stream"]
# The Tor transport (`--tor-enable`): onion services, with arti.
tor = [
"dep:arti-client",
@@ -22,7 +22,6 @@ tor = [
"dep:tor-proto",
"dep:tor-rtcompat",
"dep:safelog",
- "dep:futures",
]
[dependencies]
@@ -48,7 +47,8 @@ clap = "4.6"
dashmap = "6.2"
# Deflate (pure Rust), for large sync messages; Automerge uses it already.
flate2 = "1.1"
-futures = { version = "0.3", optional = true }
+# Streams: an API stream ended with its token (`api::login::streams_end`), libp2p, tor.
+futures = "0.3"
libp2p = { version = "0.57", optional = true, features = ["tokio", "tcp", "quic", "dns", "noise", "yamux", "ed25519", "identify", "ping", "macros", "relay", "dcutr", "upnp", "autonat", "mdns", "kad"] }
libp2p-stream = { version = "0.5.0-alpha", optional = true }
ed25519-dalek = "3"