diff --git a/Cargo.lock b/Cargo.lock index 22fb71871..bb7340777 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2029,7 +2029,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -2346,7 +2346,7 @@ dependencies = [ "libp2p-relay", "libp2p-rendezvous", "libp2p-request-response", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "libp2p-tcp", "libp2p-tls", "libp2p-uds", @@ -2369,7 +2369,7 @@ checksum = "d1027ccf8d70320ed77e984f273bc8ce952f623762cb9bf2d126df73caef8041" dependencies = [ "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "void", ] @@ -2389,7 +2389,7 @@ dependencies = [ "libp2p-core 0.42.0", "libp2p-identity", "libp2p-request-response", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "quick-protobuf", "quick-protobuf-codec", "rand 0.8.5", @@ -2408,7 +2408,7 @@ checksum = "8d003540ee8baef0d254f7b6bfd79bac3ddf774662ca0abf69186d517ef82ad8" dependencies = [ "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "void", ] @@ -2482,7 +2482,7 @@ dependencies = [ "futures-timer", "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "lru", "quick-protobuf", "quick-protobuf-codec", @@ -2522,7 +2522,7 @@ dependencies = [ "futures", "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "quick-protobuf", "quick-protobuf-codec", "rand 0.8.5", @@ -2549,7 +2549,7 @@ dependencies = [ "hex_fmt", "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "prometheus-client", "quick-protobuf", "quick-protobuf-codec", @@ -2576,7 +2576,7 @@ dependencies = [ "futures-timer", "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "lru", "quick-protobuf", "quick-protobuf-codec", @@ -2627,7 +2627,7 @@ dependencies = [ "futures-timer", "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "quick-protobuf", "quick-protobuf-codec", "rand 0.8.5", @@ -2655,7 +2655,7 @@ dependencies = [ "if-watch", "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "rand 0.8.5", "smallvec", "socket2 0.5.7", @@ -2672,7 +2672,7 @@ checksum = "c9dd390ad10e89cbc568e61c0715a89ba074fbc7ac37d5e767fb6ae88886b588" dependencies = [ "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "memory-stats", "sysinfo", "tracing", @@ -2694,7 +2694,7 @@ dependencies = [ "libp2p-kad", "libp2p-ping", "libp2p-relay", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "pin-project", "prometheus-client", "web-time", @@ -2763,7 +2763,7 @@ dependencies = [ "futures-timer", "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "rand 0.8.5", "tracing", "void", @@ -2839,7 +2839,7 @@ dependencies = [ "futures-timer", "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "quick-protobuf", "quick-protobuf-codec", "rand 0.8.5", @@ -2882,7 +2882,7 @@ dependencies = [ "libp2p-core 0.42.0", "libp2p-identity", "libp2p-request-response", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "quick-protobuf", "quick-protobuf-codec", "rand 0.8.5", @@ -2905,7 +2905,7 @@ dependencies = [ "futures-timer", "libp2p-core 0.42.0", "libp2p-identity", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "rand 0.8.5", "serde", "serde_json", @@ -2917,37 +2917,15 @@ dependencies = [ [[package]] name = "libp2p-stream" -version = "0.1.0-alpha.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e80e4cc955913d1a3e292688aada12fc86edefec9ada087cf91825cd6368887" -dependencies = [ - "futures", - "libp2p-core 0.41.3", - "libp2p-identity", - "libp2p-swarm 0.44.2", - "rand 0.8.5", - "tracing", - "void", -] - -[[package]] -name = "libp2p-swarm" -version = "0.44.2" +version = "0.2.0-alpha" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80cae6cb75f89dbca53862f9ebe0b9f463aa7b302762fcfaafb9e51dcc9b0f7e" +checksum = "d454f6647bc9054e7fede2dc86e625786c4d1304bff7afc995285f53ef9091f0" dependencies = [ - "either", - "fnv", "futures", - "futures-timer", - "instant", - "libp2p-core 0.41.3", + "libp2p-core 0.42.0", "libp2p-identity", - "lru", - "multistream-select", - "once_cell", + "libp2p-swarm", "rand 0.8.5", - "smallvec", "tracing", "void", ] @@ -3049,7 +3027,7 @@ dependencies = [ "futures-timer", "igd-next", "libp2p-core 0.42.0", - "libp2p-swarm 0.45.1", + "libp2p-swarm", "tokio", "tracing", "void", diff --git a/Cargo.toml b/Cargo.toml index 29d6ed1a9..82c7fb6cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ libp2p = { version = "0.54" } libp2p-allow-block-list = "0.4" libp2p-connection-limits = "0.4" libp2p-relay-manager = { version = "0.3.0", path = "packages/libp2p-relay-manager" } -libp2p-stream = { version = "0.1.0-alpha.1" } +libp2p-stream = { version = "0.2.0-alpha" } libp2p-webrtc = { version = "=0.7.1-alpha", features = ["pem"] } libp2p-webrtc-websys = "0.3.0-alpha" multibase = "0.9.1"