-
Notifications
You must be signed in to change notification settings - Fork 957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core/muxing: Force StreamMuxer::Substream
to implement Async{Read,Write}
#2707
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
50f703f
core/muxing: Introduce `SubstreamBox` which implements `Async{Read,Wr…
thomaseizinger 8db3eef
Fill PR number into changelog
thomaseizinger f014c29
Fix intra-doc link
thomaseizinger 09fcb44
Remove unnecessary bounds
thomaseizinger ceed232
Update docs
thomaseizinger 6597a54
Update core/src/muxing/boxed.rs
thomaseizinger e52ea08
*: Bump libp2p-core to v0.34.0
mxinden e23b3f2
Merge branch 'master' into refactor/introduce-substream-box
thomaseizinger 310d391
Update muxers/mplex/CHANGELOG.md
thomaseizinger e980e38
Merge branch 'master' into refactor/introduce-substream-box
thomaseizinger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.60.0" | ||
description = "Peer-to-peer networking library" | ||
version = "0.46.0" | ||
version = "0.47.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -76,41 +76,41 @@ 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.4.0", path = "protocols/autonat", optional = true } | ||
libp2p-core = { version = "0.33.0", path = "core", default-features = false } | ||
libp2p-dcutr = { version = "0.3.1", path = "protocols/dcutr", optional = true } | ||
libp2p-floodsub = { version = "0.36.0", path = "protocols/floodsub", optional = true } | ||
libp2p-identify = { version = "0.36.1", path = "protocols/identify", optional = true } | ||
libp2p-kad = { version = "0.37.1", path = "protocols/kad", optional = true } | ||
libp2p-metrics = { version = "0.6.0", path = "misc/metrics", optional = true } | ||
libp2p-autonat = { version = "0.5.0", path = "protocols/autonat", optional = true } | ||
libp2p-core = { version = "0.34.0", path = "core", default-features = false } | ||
libp2p-dcutr = { version = "0.4.0", path = "protocols/dcutr", optional = true } | ||
libp2p-floodsub = { version = "0.37.0", path = "protocols/floodsub", optional = true } | ||
libp2p-identify = { version = "0.37.0", path = "protocols/identify", optional = true } | ||
libp2p-kad = { version = "0.38.0", path = "protocols/kad", optional = true } | ||
libp2p-metrics = { version = "0.7.0", path = "misc/metrics", optional = true } | ||
libp2p-mplex = { version = "0.34.0", path = "muxers/mplex", optional = true } | ||
libp2p-noise = { version = "0.36.0", path = "transports/noise", optional = true } | ||
libp2p-ping = { version = "0.36.0", path = "protocols/ping", optional = true } | ||
libp2p-plaintext = { version = "0.33.0", path = "transports/plaintext", optional = true } | ||
libp2p-noise = { version = "0.37.0", path = "transports/noise", optional = true } | ||
libp2p-ping = { version = "0.37.0", path = "protocols/ping", optional = true } | ||
libp2p-plaintext = { version = "0.34.0", path = "transports/plaintext", optional = true } | ||
libp2p-pnet = { version = "0.22.0", path = "transports/pnet", optional = true } | ||
libp2p-relay = { version = "0.9.1", path = "protocols/relay", optional = true } | ||
libp2p-rendezvous = { version = "0.6.0", path = "protocols/rendezvous", optional = true } | ||
libp2p-request-response = { version = "0.18.0", path = "protocols/request-response", optional = true } | ||
libp2p-swarm = { version = "0.36.1", path = "swarm" } | ||
libp2p-relay = { version = "0.10.0", path = "protocols/relay", optional = true } | ||
libp2p-rendezvous = { version = "0.7.0", path = "protocols/rendezvous", optional = true } | ||
libp2p-request-response = { version = "0.19.0", path = "protocols/request-response", optional = true } | ||
libp2p-swarm = { version = "0.37.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.33.0", path = "transports/wasm-ext", default-features = false, optional = true } | ||
libp2p-yamux = { version = "0.37.0", path = "muxers/yamux", optional = true } | ||
libp2p-uds = { version = "0.33.0", path = "transports/uds", optional = true } | ||
libp2p-wasm-ext = { version = "0.34.0", path = "transports/wasm-ext", default-features = false, optional = true } | ||
libp2p-yamux = { version = "0.38.0", path = "muxers/yamux", optional = true } | ||
multiaddr = { version = "0.14.0" } | ||
parking_lot = "0.12.0" | ||
pin-project = "1.0.0" | ||
rand = "0.7.3" # Explicit dependency to be used in `wasm-bindgen` feature | ||
smallvec = "1.6.1" | ||
|
||
[target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "unknown")))'.dependencies] | ||
libp2p-deflate = { version = "0.33.0", path = "transports/deflate", optional = true } | ||
libp2p-dns = { version = "0.33.0", path = "transports/dns", optional = true, default-features = false } | ||
libp2p-mdns = { version = "0.37.0", path = "protocols/mdns", optional = true } | ||
libp2p-tcp = { version = "0.33.0", path = "transports/tcp", default-features = false, optional = true } | ||
libp2p-websocket = { version = "0.35.0", path = "transports/websocket", optional = true } | ||
libp2p-deflate = { version = "0.34.0", path = "transports/deflate", optional = true } | ||
libp2p-dns = { version = "0.34.0", path = "transports/dns", optional = true, default-features = false } | ||
libp2p-mdns = { version = "0.38.0", path = "protocols/mdns", optional = true } | ||
libp2p-tcp = { version = "0.34.0", path = "transports/tcp", default-features = false, optional = true } | ||
libp2p-websocket = { version = "0.36.0", path = "transports/websocket", optional = true } | ||
|
||
[target.'cfg(not(target_os = "unknown"))'.dependencies] | ||
libp2p-gossipsub = { version = "0.38.0", path = "protocols/gossipsub", optional = true } | ||
libp2p-gossipsub = { version = "0.39.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-core" | |
edition = "2021" | ||
rust-version = "1.56.1" | ||
description = "Core traits and structs of libp2p" | ||
version = "0.33.1" | ||
version = "0.34.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing version bump in
core/Cargo.toml
. I prepared this in 6d4e09a with my very hacky script. Hope this is helpful @thomaseizinger.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, that seems to be based off a different version of master? I applied the commit but it generates a lot of merge conflicts.
Investingating ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, seems to be due to the recent release off master! I've resolved the conflicts :)