-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swarm/src/behaviour: Remove Send bound from NetworkBehaviour (#2535)
The bound is no longer needed across the libp2p-XXX crates. Co-authored-by: Max Inden <[email protected]>
- Loading branch information
Showing
33 changed files
with
134 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Peer-to-peer networking library" | ||
version = "0.43.0" | ||
version = "0.44.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -77,22 +77,22 @@ getrandom = "0.2.3" # Explicit dependency to be used in `wasm-bindgen` feature | |
instant = "0.1.11" # Explicit dependency to be used in `wasm-bindgen` feature | ||
lazy_static = "1.2" | ||
|
||
libp2p-autonat = { version = "0.2.0", path = "protocols/autonat", optional = true } | ||
libp2p-autonat = { version = "0.3.0", path = "protocols/autonat", optional = true } | ||
libp2p-core = { version = "0.32.0", path = "core", default-features = false } | ||
libp2p-dcutr = { version = "0.1.0", path = "protocols/dcutr", optional = true } | ||
libp2p-floodsub = { version = "0.34.0", path = "protocols/floodsub", optional = true } | ||
libp2p-identify = { version = "0.34.0", path = "protocols/identify", optional = true } | ||
libp2p-kad = { version = "0.35.0", path = "protocols/kad", optional = true } | ||
libp2p-metrics = { version = "0.4.0", path = "misc/metrics", optional = true } | ||
libp2p-dcutr = { version = "0.2.0", path = "protocols/dcutr", optional = true } | ||
libp2p-floodsub = { version = "0.35.0", path = "protocols/floodsub", optional = true } | ||
libp2p-identify = { version = "0.35.0", path = "protocols/identify", optional = true } | ||
libp2p-kad = { version = "0.36.0", path = "protocols/kad", optional = true } | ||
libp2p-metrics = { version = "0.5.0", path = "misc/metrics", optional = true } | ||
libp2p-mplex = { version = "0.32.0", path = "muxers/mplex", optional = true } | ||
libp2p-noise = { version = "0.35.0", path = "transports/noise", optional = true } | ||
libp2p-ping = { version = "0.34.0", path = "protocols/ping", optional = true } | ||
libp2p-ping = { version = "0.35.0", path = "protocols/ping", optional = true } | ||
libp2p-plaintext = { version = "0.32.0", path = "transports/plaintext", optional = true } | ||
libp2p-pnet = { version = "0.22.0", path = "transports/pnet", optional = true } | ||
libp2p-relay = { version = "0.7.0", path = "protocols/relay", optional = true } | ||
libp2p-rendezvous = { version = "0.4.0", path = "protocols/rendezvous", optional = true } | ||
libp2p-request-response = { version = "0.16.0", path = "protocols/request-response", optional = true } | ||
libp2p-swarm = { version = "0.34.0", path = "swarm" } | ||
libp2p-relay = { version = "0.8.0", path = "protocols/relay", optional = true } | ||
libp2p-rendezvous = { version = "0.5.0", path = "protocols/rendezvous", optional = true } | ||
libp2p-request-response = { version = "0.17.0", path = "protocols/request-response", optional = true } | ||
libp2p-swarm = { version = "0.35.0", path = "swarm" } | ||
libp2p-swarm-derive = { version = "0.27.0", path = "swarm-derive" } | ||
libp2p-uds = { version = "0.32.0", path = "transports/uds", optional = true } | ||
libp2p-wasm-ext = { version = "0.32.0", path = "transports/wasm-ext", default-features = false, optional = true } | ||
|
@@ -106,12 +106,12 @@ smallvec = "1.6.1" | |
[target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))'.dependencies] | ||
libp2p-deflate = { version = "0.32.0", path = "transports/deflate", optional = true } | ||
libp2p-dns = { version = "0.32.0", path = "transports/dns", optional = true, default-features = false } | ||
libp2p-mdns = { version = "0.35.0", path = "protocols/mdns", optional = true } | ||
libp2p-mdns = { version = "0.36.0", path = "protocols/mdns", optional = true } | ||
libp2p-tcp = { version = "0.32.0", path = "transports/tcp", default-features = false, optional = true } | ||
libp2p-websocket = { version = "0.34.0", path = "transports/websocket", optional = true } | ||
|
||
[target.'cfg(not(target_os = "unknown"))'.dependencies] | ||
libp2p-gossipsub = { version = "0.36.0", path = "protocols/gossipsub", optional = true } | ||
libp2p-gossipsub = { version = "0.37.0", path = "protocols/gossipsub", optional = true } | ||
|
||
[dev-dependencies] | ||
async-std = { version = "1.6.2", features = ["attributes"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p-metrics" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Metrics for libp2p" | ||
version = "0.4.0" | ||
version = "0.5.0" | ||
authors = ["Max Inden <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -20,16 +20,16 @@ dcutr = ["libp2p-dcutr"] | |
|
||
[dependencies] | ||
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false } | ||
libp2p-dcutr = { version = "0.1.0", path = "../../protocols/dcutr", optional = true } | ||
libp2p-identify = { version = "0.34.0", path = "../../protocols/identify", optional = true } | ||
libp2p-kad = { version = "0.35.0", path = "../../protocols/kad", optional = true } | ||
libp2p-ping = { version = "0.34.0", path = "../../protocols/ping", optional = true } | ||
libp2p-relay = { version = "0.7.0", path = "../../protocols/relay", optional = true } | ||
libp2p-swarm = { version = "0.34.0", path = "../../swarm" } | ||
libp2p-dcutr = { version = "0.2.0", path = "../../protocols/dcutr", optional = true } | ||
libp2p-identify = { version = "0.35.0", path = "../../protocols/identify", optional = true } | ||
libp2p-kad = { version = "0.36.0", path = "../../protocols/kad", optional = true } | ||
libp2p-ping = { version = "0.35.0", path = "../../protocols/ping", optional = true } | ||
libp2p-relay = { version = "0.8.0", path = "../../protocols/relay", optional = true } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
prometheus-client = "0.15.0" | ||
|
||
[target.'cfg(not(target_os = "unknown"))'.dependencies] | ||
libp2p-gossipsub = { version = "0.36.0", path = "../../protocols/gossipsub", optional = true } | ||
libp2p-gossipsub = { version = "0.37.0", path = "../../protocols/gossipsub", optional = true } | ||
|
||
[dev-dependencies] | ||
env_logger = "0.8.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p-autonat" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "NAT and firewall detection for libp2p" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
authors = ["David Craven <[email protected]>", "Elena Frank <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -19,8 +19,8 @@ futures = "0.3" | |
futures-timer = "3.0" | ||
instant = "0.1" | ||
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false } | ||
libp2p-swarm = { version = "0.34.0", path = "../../swarm" } | ||
libp2p-request-response = { version = "0.16.0", path = "../request-response" } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
libp2p-request-response = { version = "0.17.0", path = "../request-response" } | ||
log = "0.4" | ||
rand = "0.8" | ||
prost = "0.9" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# 0.2.0 [unreleased] | ||
|
||
- Update to `libp2p-swarm` `v0.35.0`. | ||
|
||
# 0.1.0 [2022-02-22] | ||
|
||
- Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p-dcutr" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Direct connection upgrade through relay" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
authors = ["Max Inden <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -18,7 +18,7 @@ futures = "0.3.1" | |
futures-timer = "3.0" | ||
instant = "0.1.11" | ||
libp2p-core = { version = "0.32", path = "../../core" } | ||
libp2p-swarm = { version = "0.34", path = "../../swarm" } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
log = "0.4" | ||
prost = "0.7" | ||
thiserror = "1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p-floodsub" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Floodsub protocol for libp2p" | ||
version = "0.34.0" | ||
version = "0.35.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -15,7 +15,7 @@ cuckoofilter = "0.5.0" | |
fnv = "1.0" | ||
futures = "0.3.1" | ||
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false } | ||
libp2p-swarm = { version = "0.34.0", path = "../../swarm" } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
log = "0.4" | ||
prost = "0.9" | ||
rand = "0.7" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,15 @@ name = "libp2p-gossipsub" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Gossipsub protocol for libp2p" | ||
version = "0.36.0" | ||
version = "0.37.0" | ||
authors = ["Age Manning <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
keywords = ["peer-to-peer", "libp2p", "networking"] | ||
categories = ["network-programming", "asynchronous"] | ||
|
||
[dependencies] | ||
libp2p-swarm = { version = "0.34.0", path = "../../swarm" } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false } | ||
bytes = "1.0" | ||
byteorder = "1.3.4" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p-identify" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Nodes identifcation protocol for libp2p" | ||
version = "0.34.0" | ||
version = "0.35.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"] | |
futures = "0.3.1" | ||
futures-timer = "3.0.2" | ||
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false } | ||
libp2p-swarm = { version = "0.34.0", path = "../../swarm" } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
log = "0.4.1" | ||
lru = "0.7.2" | ||
prost = "0.9" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p-kad" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Kademlia protocol for libp2p" | ||
version = "0.35.0" | ||
version = "0.36.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -19,7 +19,7 @@ asynchronous-codec = "0.6" | |
futures = "0.3.1" | ||
log = "0.4" | ||
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false } | ||
libp2p-swarm = { version = "0.34.0", path = "../../swarm" } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
prost = "0.9" | ||
rand = "0.7.2" | ||
sha2 = "0.10.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "libp2p-mdns" | ||
edition = "2021" | ||
rust-version = "1.56.1" | ||
version = "0.35.0" | ||
version = "0.36.0" | ||
description = "Implementation of the libp2p mDNS discovery method" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -18,7 +18,7 @@ futures = "0.3.13" | |
if-watch = "1.0.0" | ||
lazy_static = "1.4.0" | ||
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false } | ||
libp2p-swarm = { version = "0.34.0", path = "../../swarm" } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
log = "0.4.14" | ||
rand = "0.8.3" | ||
smallvec = "1.6.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p-ping" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Ping protocol for libp2p" | ||
version = "0.34.0" | ||
version = "0.35.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -15,7 +15,7 @@ futures = "0.3.1" | |
futures-timer = "3.0.2" | ||
instant = "0.1.11" | ||
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false } | ||
libp2p-swarm = { version = "0.34.0", path = "../../swarm" } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
log = "0.4.1" | ||
rand = "0.7.2" | ||
void = "1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libp2p-relay" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Communications relaying for libp2p" | ||
version = "0.7.0" | ||
version = "0.8.0" | ||
authors = ["Parity Technologies <[email protected]>", "Max Inden <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -18,7 +18,7 @@ futures = "0.3.1" | |
futures-timer = "3" | ||
instant = "0.1.11" | ||
libp2p-core = { version = "0.32.0", path = "../../core", default-features = false } | ||
libp2p-swarm = { version = "0.34.0", path = "../../swarm" } | ||
libp2p-swarm = { version = "0.35.0", path = "../../swarm" } | ||
log = "0.4" | ||
pin-project = "1" | ||
prost = "0.9" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.