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 | 6f0634115f7669d8077fbdaf72fb412799a99f10 (patch) | |
| tree | c06a65865348c5f1961403a2c2233fc6350d2190 /Cargo.toml | |
| parent | 4dc662f81a288a2c214a731708329b7b76bea108 (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" |
