deny: Add override for older tungstenite

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1616>
This commit is contained in:
Sebastian Dröge 2024-06-06 09:08:19 +03:00 committed by GStreamer Marge Bot
parent 1a03edd27d
commit dd4c466265
3 changed files with 24 additions and 4 deletions

7
Cargo.lock generated
View file

@ -264,9 +264,9 @@ dependencies = [
[[package]]
name = "async-tungstenite"
version = "0.26.0"
version = "0.26.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7cf3e0ba34d3cf04731e376a1cf6c16c357396ab66da227bd283e74d49890b2a"
checksum = "67824e7945b9a2bf2057a363ab01b103e3217962afe0f3b789e6df8b13ac0a86"
dependencies = [
"futures-io",
"futures-util",
@ -3724,7 +3724,7 @@ dependencies = [
"httpdate",
"itoa",
"pin-project-lite",
"socket2 0.5.7",
"socket2 0.4.10",
"tokio",
"tower-service",
"tracing",
@ -6731,6 +6731,7 @@ dependencies = [
"rand",
"sha1",
"thiserror",
"url",
"utf-8",
]

View file

@ -231,6 +231,25 @@ version = "1.0"
name = "winreg"
version = "0.50"
# The AWS SDK uses old versions of rustls and related crates
[[bans.skip]]
name = "rustls"
version = "0.21"
[[bans.skip]]
name = "rustls-native-certs"
version = "0.6"
[[bans.skip]]
name = "rustls-webpki"
version = "0.101"
# warp depends on an older version of tokio-tungstenite
[[bans.skip]]
name = "tokio-tungstenite"
version = "0.21"
[[bans.skip]]
name = "tungstenite"
version = "0.21"
[sources]
unknown-registry = "deny"
unknown-git = "deny"

View file

@ -26,7 +26,7 @@ futures = "0.3"
tokio = { version = "1", features = ["fs", "macros", "rt-multi-thread", "time"] }
tokio-native-tls = "0.3.0"
tokio-stream = "0.1.11"
async-tungstenite = { version = "0.26", features = ["tokio-runtime", "tokio-native-tls"] }
async-tungstenite = { version = "0.26", features = ["tokio-runtime", "tokio-native-tls", "url"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
fastrand = "2.0"