Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/cargo/redis-0.23.4
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger authored Nov 28, 2023
2 parents e434677 + dfce3cc commit b534616
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 37 deletions.
62 changes: 36 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hole-punching-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ libp2p = { path = "../libp2p", features = ["tokio", "dcutr", "identify", "macros
tracing = "0.1.37"
redis = { version = "0.23.4", default-features = false, features = ["tokio-comp"] }
tokio = { version = "1.34.0", features = ["full"] }
serde = { version = "1.0.192", features = ["derive"] }
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
either = "1.9.0"
2 changes: 1 addition & 1 deletion misc/keygen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ release = false
[dependencies]
clap = { version = "4.4.8", features = ["derive"] }
zeroize = "1"
serde = { version = "1.0.192", features = ["derive"] }
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
libp2p-core = { workspace = true }
base64 = "0.21.5"
Expand Down
2 changes: 1 addition & 1 deletion misc/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ futures-timer = "3"
hyper = { version = "0.14", features = ["server", "tcp", "http1"] }
libp2p = { workspace = true, features = ["autonat", "dns", "tokio", "noise", "tcp", "yamux", "identify", "kad", "ping", "relay", "metrics", "rsa", "macros", "quic"] }
prometheus-client = { workspace = true }
serde = "1.0.192"
serde = "1.0.193"
serde_derive = "1.0.125"
serde_json = "1.0"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
Expand Down
7 changes: 7 additions & 0 deletions muxers/yamux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.45.1

- Deprecate `WindowUpdateMode::on_receive`.
It does not enforce flow-control, i.e. breaks backpressure.
Use `WindowUpdateMode::on_read` instead.
See `yamux` crate version `v0.12.1` and [Yamux PR #177](https://github.com/libp2p/rust-yamux/pull/177).

## 0.45.0

- Migrate to `{In,Out}boundConnectionUpgrade` traits.
Expand Down
2 changes: 2 additions & 0 deletions muxers/yamux/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,9 @@ impl WindowUpdateMode {
/// > size must be tuned appropriately for the desired
/// > throughput and level of tolerance for (temporarily)
/// > slow receivers.
#[deprecated(note = "Use `WindowUpdateMode::on_read` instead.")]
pub fn on_receive() -> Self {
#[allow(deprecated)]
WindowUpdateMode(yamux::WindowUpdateMode::OnReceive)
}

Expand Down
2 changes: 1 addition & 1 deletion protocols/dcutr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ quick-protobuf-codec = { workspace = true }
thiserror = "1.0"
tracing = "0.1.37"
void = "1"
lru = "0.12.0"
lru = "0.12.1"
futures-bounded = { workspace = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion protocols/identify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ futures-bounded = { workspace = true }
libp2p-core = { workspace = true }
libp2p-swarm = { workspace = true }
libp2p-identity = { workspace = true }
lru = "0.12.0"
lru = "0.12.1"
quick-protobuf-codec = { workspace = true }
quick-protobuf = "0.8"
smallvec = "1.11.2"
Expand Down
4 changes: 2 additions & 2 deletions protocols/mdns/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ categories = ["network-programming", "asynchronous"]
[dependencies]
async-std = { version = "1.12.0", optional = true }
async-io = { version = "2.2.0", optional = true }
data-encoding = "2.4.0"
data-encoding = "2.5.0"
futures = "0.3.29"
if-watch = "3.1.0"
if-watch = "3.2.0"
libp2p-core = { workspace = true }
libp2p-swarm = { workspace = true }
libp2p-identity = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion transports/quic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async-std = { version = "1.12.0", optional = true }
bytes = "1.5.0"
futures = "0.3.29"
futures-timer = "3.0.2"
if-watch = "3.1.0"
if-watch = "3.2.0"
libp2p-core = { workspace = true }
libp2p-tls = { workspace = true }
libp2p-identity = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion transports/tcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"]
async-io = { version = "2.2.0", optional = true }
futures = "0.3.29"
futures-timer = "3.0"
if-watch = "3.1.0"
if-watch = "3.2.0"
libc = "0.2.150"
libp2p-core = { workspace = true }
libp2p-identity = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion transports/webrtc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ bytes = "1"
futures = "0.3"
futures-timer = "3"
hex = "0.4"
if-watch = "3.1"
if-watch = "3.2"
libp2p-core = { workspace = true }
libp2p-noise = { workspace = true }
libp2p-identity = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion transports/websocket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pin-project-lite = "0.2.13"
rw-stream-sink = { workspace = true }
soketto = "0.7.0"
tracing = "0.1.37"
url = "2.4"
url = "2.5"
webpki-roots = "0.25"

[dev-dependencies]
Expand Down

0 comments on commit b534616

Please sign in to comment.