deps: use released version of futures-bounded (#2500)

This commit is contained in:
Thomas Eizinger
2023-10-25 12:03:11 +11:00
committed by GitHub
parent 677b1b1f40
commit d5e182cf0a
5 changed files with 8 additions and 16 deletions

17
rust/Cargo.lock generated
View File

@@ -1144,7 +1144,7 @@ dependencies = [
"firezone-cli-utils",
"firezone-tunnel",
"futures",
"futures-bounded 0.1.0",
"futures-bounded",
"phoenix-channel",
"secrecy",
"serde",
@@ -1223,7 +1223,7 @@ dependencies = [
"connlib-shared",
"domain",
"futures",
"futures-bounded 0.2.0",
"futures-bounded",
"futures-util",
"hickory-resolver",
"ip_network",
@@ -1287,20 +1287,11 @@ dependencies = [
"futures-util",
]
[[package]]
name = "futures-bounded"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b07bbbe7d7e78809544c6f718d875627addc73a7c3582447abc052cd3dc67e0"
dependencies = [
"futures-timer",
"futures-util",
]
[[package]]
name = "futures-bounded"
version = "0.2.0"
source = "git+https://github.com/libp2p/rust-libp2p?branch=feat/stream-map#07ff4c28f6d7d878641fe9bf464b27f84191dc77"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05bc732cbef458f0184de1c3aa7ae07c9dbbf419611b5b93ee5b0c9aacdc2e3d"
dependencies = [
"futures-timer",
"futures-util",

View File

@@ -24,6 +24,7 @@ tracing-subscriber = { version = "0.3.17", features = ["parking_lot"] }
secrecy = "0.8"
hickory-resolver = { version = "0.24", features = ["tokio-runtime"] }
webrtc = "0.9"
futures-bounded = "0.2.0"
connlib-client-android = { path = "connlib/clients/android"}
connlib-client-apple = { path = "connlib/clients/apple"}

View File

@@ -25,7 +25,7 @@ domain = "0.9"
boringtun = { workspace = true }
chrono = { workspace = true }
pnet_packet = { version = "0.34" }
futures-bounded = { git = "https://github.com/libp2p/rust-libp2p", branch = "feat/stream-map" }
futures-bounded = { workspace = true }
hickory-resolver = { workspace = true }
# TODO: research replacing for https://github.com/algesten/str0m

View File

@@ -16,7 +16,7 @@ clap = "4.4.5"
connlib-shared = { workspace = true }
firezone-tunnel = { workspace = true }
futures = "0.3.28"
futures-bounded = "0.1.0"
futures-bounded = { workspace = true }
firezone-cli-utils = { workspace = true }
phoenix-channel = { workspace = true }
secrecy = { workspace = true }

View File

@@ -125,7 +125,7 @@ impl Eventloop {
Err(futures_bounded::PushError::BeyondCapacity(_)) => {
tracing::warn!("Too many connections requests, dropping existing one");
}
Err(futures_bounded::PushError::ReplacedFuture(_)) => {
Err(futures_bounded::PushError::Replaced(_)) => {
debug_assert!(false, "Received a 2nd connection requested with the same reference from the same client");
}
Ok(()) => {}