webrtchttp: Update to reqwest 0.12

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1531>
This commit is contained in:
Sebastian Dröge 2024-04-06 10:38:57 +03:00
parent 0b0fc7f7d4
commit 58ae74467a
2 changed files with 39 additions and 237 deletions

274
Cargo.lock generated
View file

@ -337,7 +337,7 @@ dependencies = [
"fastrand",
"hex",
"http 0.2.12",
"hyper 0.14.28",
"hyper",
"ring",
"time",
"tokio",
@ -374,7 +374,7 @@ dependencies = [
"bytes",
"fastrand",
"http 0.2.12",
"http-body 0.4.6",
"http-body",
"percent-encoding",
"pin-project-lite",
"tracing",
@ -450,7 +450,7 @@ dependencies = [
"hex",
"hmac 0.12.1",
"http 0.2.12",
"http-body 0.4.6",
"http-body",
"lru",
"once_cell",
"percent-encoding",
@ -546,7 +546,7 @@ dependencies = [
"aws-types",
"bytes",
"http 0.2.12",
"hyper 0.14.28",
"hyper",
"once_cell",
"regex-lite",
"tracing",
@ -628,7 +628,7 @@ dependencies = [
"crc32fast",
"hex",
"http 0.2.12",
"http-body 0.4.6",
"http-body",
"md-5",
"pin-project-lite",
"sha1",
@ -660,7 +660,7 @@ dependencies = [
"bytes-utils",
"futures-core",
"http 0.2.12",
"http-body 0.4.6",
"http-body",
"once_cell",
"percent-encoding",
"pin-project-lite",
@ -699,10 +699,10 @@ dependencies = [
"aws-smithy-types",
"bytes",
"fastrand",
"h2 0.3.25",
"h2",
"http 0.2.12",
"http-body 0.4.6",
"hyper 0.14.28",
"http-body",
"hyper",
"hyper-rustls",
"once_cell",
"pin-project-lite",
@ -740,7 +740,7 @@ dependencies = [
"bytes-utils",
"futures-core",
"http 0.2.12",
"http-body 0.4.6",
"http-body",
"itoa",
"num-integer",
"pin-project-lite",
@ -815,12 +815,6 @@ version = "0.21.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
[[package]]
name = "base64"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51"
[[package]]
name = "base64-serde"
version = "0.7.0"
@ -1371,11 +1365,11 @@ dependencies = [
[[package]]
name = "dash-mpd"
version = "0.16.0"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6cafa2c33eff2857e1a14c38aa9a432aa565a01e77804a541fce7aec3affb8f8"
checksum = "18c18f28b58beade78e0f61a846a63a122cb92c5f5ed6bad29d7ad13287c7526"
dependencies = [
"base64 0.22.0",
"base64 0.21.7",
"base64-serde",
"chrono",
"fs-err",
@ -2631,18 +2625,15 @@ dependencies = [
name = "gst-plugin-reqwest"
version = "0.12.3"
dependencies = [
"bytes",
"futures",
"gst-plugin-version-helper",
"gstreamer",
"gstreamer-base",
"headers 0.4.0",
"http-body-util",
"hyper 1.2.0",
"headers",
"hyper",
"mime",
"once_cell",
"pin-project-lite",
"reqwest 0.12.1",
"reqwest",
"tokio",
"url",
]
@ -2896,7 +2887,6 @@ dependencies = [
"gst-plugin-webrtc-signalling-protocol",
"gstreamer",
"gstreamer-app",
"gstreamer-audio",
"gstreamer-base",
"gstreamer-rtp",
"gstreamer-sdp",
@ -2911,7 +2901,7 @@ dependencies = [
"parse_link_header",
"rand",
"regex",
"reqwest 0.11.26",
"reqwest",
"serde",
"serde_json",
"thiserror",
@ -2970,7 +2960,7 @@ dependencies = [
"gstreamer-webrtc",
"once_cell",
"parse_link_header",
"reqwest 0.11.26",
"reqwest",
"tokio",
]
@ -3038,7 +3028,6 @@ dependencies = [
"gstreamer-base",
"libc",
"once_cell",
"serde",
"smallvec",
]
@ -3441,25 +3430,6 @@ dependencies = [
"tracing",
]
[[package]]
name = "h2"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51ee2dd2e4f378392eeff5d51618cd9a63166a2513846bbc55f21cfacd9199d4"
dependencies = [
"bytes",
"fnv",
"futures-core",
"futures-sink",
"futures-util",
"http 1.1.0",
"indexmap 2.2.5",
"slab",
"tokio",
"tokio-util",
"tracing",
]
[[package]]
name = "hashbrown"
version = "0.12.3"
@ -3484,28 +3454,13 @@ checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270"
dependencies = [
"base64 0.21.7",
"bytes",
"headers-core 0.2.0",
"headers-core",
"http 0.2.12",
"httpdate",
"mime",
"sha1",
]
[[package]]
name = "headers"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "322106e6bd0cba2d5ead589ddb8150a13d7c4217cf80d7c4f682ca994ccc6aa9"
dependencies = [
"base64 0.21.7",
"bytes",
"headers-core 0.3.0",
"http 1.1.0",
"httpdate",
"mime",
"sha1",
]
[[package]]
name = "headers-core"
version = "0.2.0"
@ -3515,15 +3470,6 @@ dependencies = [
"http 0.2.12",
]
[[package]]
name = "headers-core"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54b4a22553d4242c49fddb9ba998a99962b5cc6f22cb5a3482bec22522403ce4"
dependencies = [
"http 1.1.0",
]
[[package]]
name = "heck"
version = "0.4.1"
@ -3640,29 +3586,6 @@ dependencies = [
"pin-project-lite",
]
[[package]]
name = "http-body"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643"
dependencies = [
"bytes",
"http 1.1.0",
]
[[package]]
name = "http-body-util"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d"
dependencies = [
"bytes",
"futures-core",
"http 1.1.0",
"http-body 1.0.0",
"pin-project-lite",
]
[[package]]
name = "httparse"
version = "1.8.0"
@ -3697,41 +3620,20 @@ dependencies = [
"futures-channel",
"futures-core",
"futures-util",
"h2 0.3.25",
"h2",
"http 0.2.12",
"http-body 0.4.6",
"http-body",
"httparse",
"httpdate",
"itoa",
"pin-project-lite",
"socket2 0.4.10",
"socket2 0.5.6",
"tokio",
"tower-service",
"tracing",
"want",
]
[[package]]
name = "hyper"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "186548d73ac615b32a73aafe38fb4f56c0d340e110e5a200bcadbaf2e199263a"
dependencies = [
"bytes",
"futures-channel",
"futures-util",
"h2 0.4.3",
"http 1.1.0",
"http-body 1.0.0",
"httparse",
"httpdate",
"itoa",
"pin-project-lite",
"smallvec",
"tokio",
"want",
]
[[package]]
name = "hyper-proxy"
version = "0.9.1"
@ -3740,9 +3642,9 @@ checksum = "ca815a891b24fdfb243fa3239c86154392b0953ee584aa1a2a1f66d20cbe75cc"
dependencies = [
"bytes",
"futures",
"headers 0.3.9",
"headers",
"http 0.2.12",
"hyper 0.14.28",
"hyper",
"tokio",
"tower-service",
]
@ -3755,7 +3657,7 @@ checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590"
dependencies = [
"futures-util",
"http 0.2.12",
"hyper 0.14.28",
"hyper",
"log",
"rustls",
"rustls-native-certs",
@ -3770,48 +3672,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
dependencies = [
"bytes",
"hyper 0.14.28",
"hyper",
"native-tls",
"tokio",
"tokio-native-tls",
]
[[package]]
name = "hyper-tls"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
dependencies = [
"bytes",
"http-body-util",
"hyper 1.2.0",
"hyper-util",
"native-tls",
"tokio",
"tokio-native-tls",
"tower-service",
]
[[package]]
name = "hyper-util"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa"
dependencies = [
"bytes",
"futures-channel",
"futures-util",
"http 1.1.0",
"http-body 1.0.0",
"hyper 1.2.0",
"pin-project-lite",
"socket2 0.5.6",
"tokio",
"tower",
"tower-service",
"tracing",
]
[[package]]
name = "hyphenation"
version = "0.8.4"
@ -4089,7 +3955,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19"
dependencies = [
"cfg-if",
"windows-targets 0.52.4",
"windows-targets 0.48.5",
]
[[package]]
@ -4129,7 +3995,7 @@ dependencies = [
"futures-util",
"getopts",
"hex",
"hyper 0.14.28",
"hyper",
"librespot-audio",
"librespot-connect",
"librespot-core",
@ -4198,7 +4064,7 @@ dependencies = [
"hmac 0.11.0",
"http 0.2.12",
"httparse",
"hyper 0.14.28",
"hyper",
"hyper-proxy",
"librespot-protocol",
"log",
@ -4234,7 +4100,7 @@ dependencies = [
"form_urlencoded",
"futures-core",
"hmac 0.11.0",
"hyper 0.14.28",
"hyper",
"libmdns",
"librespot-core",
"log",
@ -4337,7 +4203,7 @@ dependencies = [
"log",
"parking_lot",
"prost",
"reqwest 0.11.26",
"reqwest",
"scopeguard",
"serde",
"sha2",
@ -5458,46 +5324,6 @@ name = "reqwest"
version = "0.11.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62"
dependencies = [
"base64 0.21.7",
"bytes",
"encoding_rs",
"futures-core",
"futures-util",
"h2 0.3.25",
"http 0.2.12",
"http-body 0.4.6",
"hyper 0.14.28",
"hyper-tls 0.5.0",
"ipnet",
"js-sys",
"log",
"mime",
"native-tls",
"once_cell",
"percent-encoding",
"pin-project-lite",
"rustls-pemfile",
"serde",
"serde_json",
"serde_urlencoded",
"sync_wrapper",
"system-configuration",
"tokio",
"tokio-native-tls",
"tower-service",
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"winreg",
]
[[package]]
name = "reqwest"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e333b1eb9fe677f6893a9efcb0d277a2d3edd83f358a236b657c32301dc6e5f6"
dependencies = [
"async-compression",
"base64 0.21.7",
@ -5507,13 +5333,11 @@ dependencies = [
"encoding_rs",
"futures-core",
"futures-util",
"h2 0.4.3",
"http 1.1.0",
"http-body 1.0.0",
"http-body-util",
"hyper 1.2.0",
"hyper-tls 0.6.0",
"hyper-util",
"h2",
"http 0.2.12",
"http-body",
"hyper",
"hyper-tls",
"ipnet",
"js-sys",
"log",
@ -6484,28 +6308,6 @@ dependencies = [
"winnow 0.6.5",
]
[[package]]
name = "tower"
version = "0.4.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c"
dependencies = [
"futures-core",
"futures-util",
"pin-project",
"pin-project-lite",
"tokio",
"tower-layer",
"tower-service",
"tracing",
]
[[package]]
name = "tower-layer"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0"
[[package]]
name = "tower-service"
version = "0.3.2"
@ -6823,9 +6625,9 @@ dependencies = [
"bytes",
"futures-channel",
"futures-util",
"headers 0.3.9",
"headers",
"http 0.2.12",
"hyper 0.14.28",
"hyper",
"log",
"mime",
"mime_guess",

View file

@ -14,7 +14,7 @@ rust-version.workspace = true
gst.workspace = true
gst-webrtc = { workspace = true, features = ["v1_18"] }
gst-sdp.workspace = true
reqwest = { version = "0.11", features = ["default-tls"] }
reqwest = { version = "0.12", features = ["default-tls"] }
parse_link_header = {version = "0.3", features = ["url"]}
tokio = { version = "1.20.1", default-features = false, features = ["time", "rt-multi-thread"] }
futures = "0.3.23"