diff options
| author | tv <tv@krebsco.de> | 2026-10-27 02:22:24 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-27 02:22:24 +0100 |
| commit | d1926800dfdbfba213a0b5060777055d8b1dbae4 (patch) | |
| tree | 90193cc6589200d2d6363bebd183dbb96ee90698 /Cargo.toml | |
| parent | ab0a8f5782d11a264a63f2fc1c2ffa292759df4e (diff) | |
add libp2p transport
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,7 +6,7 @@ edition = "2024" [features] tokio-console = ["dep:console-subscriber"] # The libp2p transport (`--transports libp2p`). -libp2p = [] +libp2p = ["dep:libp2p", "dep:libp2p-stream", "dep:futures"] [dependencies] anyhow = "1.0" @@ -21,6 +21,9 @@ blake3 = "1.8" bytes = "1.12" clap = "4.6" dashmap = "6.2" +futures = { version = "0.3", optional = true } +libp2p = { version = "0.56", optional = true, features = ["tokio", "tcp", "quic", "dns", "noise", "yamux", "ed25519"] } +libp2p-stream = { version = "0.4.0-alpha", optional = true } ed25519-dalek = "3" getrandom = "0.4" libc = "0.2" |
