diff --git a/Cargo.lock b/Cargo.lock index cba0abd5838be..03d0f7f44692d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1525,7 +1525,7 @@ dependencies = [ "pin-project", "quick-xml 0.31.0", "rand 0.8.5", - "reqwest 0.12.9", + "reqwest 0.12.23", "rustc_version 0.4.1", "serde", "serde_json", @@ -1537,12 +1537,13 @@ dependencies = [ [[package]] name = "azure_core" -version = "0.25.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82c33c072c9d87777262f35abfe2a64b609437076551d4dac8373e60f0e3fde9" +checksum = "7cd9e026f749ac67e6d736ebcfa1ba36ab60ce3d6c446c67624a538f4e0667fa" dependencies = [ "async-lock 3.4.0", "async-trait", + "azure_core_macros", "bytes 1.10.1", "futures 0.3.31", "openssl", @@ -1555,15 +1556,28 @@ dependencies = [ "typespec_client_core", ] +[[package]] +name = "azure_core_macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06bce1a683e1a27013e64a1ff760700c7241275fe38787e578c3526f4ac569e0" +dependencies = [ + "proc-macro2 1.0.101", + "quote 1.0.40", + "syn 2.0.106", + "tracing 0.1.41", + "typespec_client_core", +] + [[package]] name = "azure_identity" -version = "0.25.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb64e97087965481c94f1703c57e678df09df73e2cdaee8952558f9c6c7d100" +checksum = "f5b2a19746da00d510787e406f07494a5b6e9b86f69871e3b72ef90d34631c77" dependencies = [ "async-lock 3.4.0", "async-trait", - "azure_core 0.25.0", + "azure_core 0.27.0", "futures 0.3.31", "pin-project", "serde", @@ -3032,7 +3046,7 @@ dependencies = [ "once_cell", "parking_lot 0.12.4", "percent-encoding", - "reqwest 0.12.9", + "reqwest 0.12.23", "semver 1.0.26", "serde", "serde_json", @@ -3086,12 +3100,12 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.9" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +checksum = "a41953f86f8a05768a6cda24def994fd2f424b04ec5c719cf89989779f199071" dependencies = [ "powerfmt", - "serde", + "serde_core", ] [[package]] @@ -4225,7 +4239,7 @@ dependencies = [ "arc-swap", "futures 0.3.31", "log", - "reqwest 0.12.9", + "reqwest 0.12.23", "serde", "serde_derive", "serde_json", @@ -4875,7 +4889,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2 0.5.10", "tokio", "tower-service", "tracing 0.1.41", @@ -5065,18 +5079,23 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.9" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b" +checksum = "3c6995591a8f1380fcb4ba966a252a4b29188d51d2b89e3a252f5305be65aea8" dependencies = [ + "base64 0.22.1", "bytes 1.10.1", "futures-channel", + "futures-core", "futures-util", "http 1.3.1", "http-body 1.0.0", "hyper 1.7.0", + "ipnet", + "libc", + "percent-encoding", "pin-project-lite", - "socket2 0.5.10", + "socket2 0.6.0", "tokio", "tower-service", "tracing 0.1.41", @@ -5465,6 +5484,16 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf370abdafd54d13e54a620e8c3e1145f28e46cc9d704bc6d94414559df41763" +[[package]] +name = "iri-string" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2" +dependencies = [ + "memchr", + "serde", +] + [[package]] name = "is-terminal" version = "0.4.9" @@ -7140,7 +7169,7 @@ dependencies = [ "md-5", "percent-encoding", "quick-xml 0.37.4", - "reqwest 0.12.9", + "reqwest 0.12.23", "serde", "serde_json", "tokio", @@ -8061,7 +8090,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be769465445e8c1474e9c5dac2018218498557af32d9ed057325ec9a41ae81bf" dependencies = [ "heck 0.5.0", - "itertools 0.11.0", + "itertools 0.14.0", "log", "multimap", "once_cell", @@ -8107,7 +8136,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.14.0", "proc-macro2 1.0.101", "quote 1.0.40", "syn 2.0.106", @@ -8866,9 +8895,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.12.9" +version = "0.12.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77c62af46e79de0a562e1a9849205ffcb7fc1238876e9bd743357570e04046f" +checksum = "d429f34c8092b2d42c7c93cec323bb4adeb7c67698f70839adec842ec10c7ceb" dependencies = [ "async-compression", "base64 0.22.1", @@ -8886,19 +8915,15 @@ dependencies = [ "hyper-rustls 0.27.5", "hyper-tls 0.6.0", "hyper-util", - "ipnet", "js-sys", "log", - "mime", "mime_guess", "native-tls", - "once_cell", "percent-encoding", "pin-project-lite", "quinn", "rustls 0.23.23", "rustls-native-certs 0.8.1", - "rustls-pemfile 2.1.0", "rustls-pki-types", "serde", "serde_json", @@ -8908,14 +8933,15 @@ dependencies = [ "tokio-native-tls", "tokio-rustls 0.26.2", "tokio-util", + "tower 0.5.2", + "tower-http 0.6.6", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", "wasm-streams", "web-sys", - "webpki-roots 0.26.1", - "windows-registry", + "webpki-roots 1.0.2", ] [[package]] @@ -8927,7 +8953,7 @@ dependencies = [ "anyhow", "async-trait", "http 1.3.1", - "reqwest 0.12.9", + "reqwest 0.12.23", "serde", "thiserror 1.0.68", "tower-service", @@ -8946,7 +8972,7 @@ dependencies = [ "http 1.3.1", "hyper 1.7.0", "parking_lot 0.11.2", - "reqwest 0.12.9", + "reqwest 0.12.23", "reqwest-middleware", "retry-policies", "thiserror 1.0.68", @@ -9595,10 +9621,11 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ + "serde_core", "serde_derive", ] @@ -9630,11 +9657,20 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_core" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + [[package]] name = "serde_derive" -version = "1.0.219" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2 1.0.101", "quote 1.0.40", @@ -10784,9 +10820,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.36" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -10802,15 +10838,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.18" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", @@ -11338,6 +11374,24 @@ dependencies = [ "tracing 0.1.41", ] +[[package]] +name = "tower-http" +version = "0.6.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" +dependencies = [ + "bitflags 2.9.0", + "bytes 1.10.1", + "futures-util", + "http 1.3.1", + "http-body 1.0.0", + "iri-string", + "pin-project-lite", + "tower 0.5.2", + "tower-layer", + "tower-service", +] + [[package]] name = "tower-layer" version = "0.3.3" @@ -11683,9 +11737,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "typespec" -version = "0.5.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04c7a952f1f34257f945fc727b20defe7a3c01c05ddd42925977626cfa6e62ab" +checksum = "e2fffbed46125e0931e8f45618c3f6f0ffa2e0dc6d8b10a8de9f100b03138f33" dependencies = [ "base64 0.22.1", "serde", @@ -11695,19 +11749,19 @@ dependencies = [ [[package]] name = "typespec_client_core" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5879ce67ba9e525fe088c882ede1337c32c3f80e83e72d9fd3cc6c8e05bcb3d7" +checksum = "e96d81a432a1d2eb5cb3e9f813ff3811928e35f549bb5fa0a16abeffc66dec4c" dependencies = [ "async-trait", "base64 0.22.1", "bytes 1.10.1", "dyn-clone", "futures 0.3.31", - "getrandom 0.2.15", + "getrandom 0.3.1", "pin-project", - "rand 0.8.5", - "reqwest 0.12.9", + "rand 0.9.2", + "reqwest 0.12.23", "serde", "serde_json", "time", @@ -11721,9 +11775,9 @@ dependencies = [ [[package]] name = "typespec_macros" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cbccdbe531c8d553812a609bdb70c0d1002ad91333498e18df42c98744b15cc" +checksum = "1b032d7c2352fd8c2af91f942b914c52e315d3ea2b1bcad21a16cb94f72816bd" dependencies = [ "proc-macro2 1.0.101", "quote 1.0.40", @@ -12052,7 +12106,7 @@ dependencies = [ "aws-types", "axum 0.6.20", "azure_core 0.21.0", - "azure_core 0.25.0", + "azure_core 0.27.0", "azure_identity", "azure_storage", "azure_storage_blobs", @@ -12655,7 +12709,7 @@ dependencies = [ "quoted_printable", "rand 0.8.5", "regex", - "reqwest 0.12.9", + "reqwest 0.12.23", "reqwest-middleware", "reqwest-retry", "roxmltree", @@ -12942,6 +12996,15 @@ dependencies = [ "rustls-pki-types", ] +[[package]] +name = "webpki-roots" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8983c3ab33d6fb807cfcdad2491c4ea8cbc8ed839181c7dfd9c67c83e261b2" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "which" version = "4.4.2" @@ -13071,8 +13134,8 @@ dependencies = [ "windows-implement", "windows-interface", "windows-link", - "windows-result 0.3.1", - "windows-strings 0.3.1", + "windows-result", + "windows-strings", ] [[package]] @@ -13123,26 +13186,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "windows-registry" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" -dependencies = [ - "windows-result 0.2.0", - "windows-strings 0.1.0", - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-result" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" -dependencies = [ - "windows-targets 0.52.6", -] - [[package]] name = "windows-result" version = "0.3.1" @@ -13163,16 +13206,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "windows-strings" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" -dependencies = [ - "windows-result 0.2.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows-strings" version = "0.3.1" diff --git a/Cargo.toml b/Cargo.toml index 5f8375319ca9b..67e7dd6463541 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -277,8 +277,8 @@ aws-smithy-runtime-api = { version = "1.7.3", default-features = false, optional aws-smithy-types = { version = "1.2.11", default-features = false, features = ["rt-tokio"], optional = true } # Azure -azure_core = { version = "0.25", default-features = false, features = ["reqwest", "hmac_openssl"], optional = true } -azure_identity = { version = "0.25", default-features = false, features = ["reqwest"], optional = true } +azure_core = { version = "0.27", default-features = false, features = ["reqwest", "hmac_openssl"], optional = true } +azure_identity = { version = "0.27", default-features = false, features = ["reqwest"], optional = true } # Azure Storage azure_storage = { version = "0.21", default-features = false, optional = true } @@ -457,10 +457,8 @@ openssl-src = { version = "300", default-features = false, features = ["force-en approx = "0.5.1" assert_cmd = { version = "2.0.17", default-features = false } aws-smithy-runtime = { version = "1.8.3", default-features = false, features = ["tls-rustls"] } -azure_core = { version = "0.25", default-features = false, features = ["reqwest", "hmac_openssl", "azurite_workaround"] } -azure_identity = { version = "0.25", default-features = false, features = ["reqwest"] } -azure_storage_blobs = { version = "0.21", default-features = false, features = ["enable_reqwest", "hmac_openssl", "azurite_workaround"] } -azure_storage = { version = "0.21", default-features = false, features = ["enable_reqwest", "hmac_openssl"] } +azure_core = { version = "0.27", default-features = false, features = ["reqwest", "hmac_openssl", "azurite_workaround"] } +azure_storage_blobs = { version = "0.21", default-features = false, features = ["azurite_workaround"] } base64 = "0.22.1" criterion = { version = "0.7.0", features = ["html_reports", "async_tokio"] } itertools.workspace = true diff --git a/LICENSE-3rdparty.csv b/LICENSE-3rdparty.csv index 68fb43736a998..4e8405079cbce 100644 --- a/LICENSE-3rdparty.csv +++ b/LICENSE-3rdparty.csv @@ -81,6 +81,7 @@ axum,https://github.com/tokio-rs/axum,MIT,The axum Authors axum-core,https://github.com/tokio-rs/axum,MIT,The axum-core Authors azure_core,https://github.com/azure/azure-sdk-for-rust,MIT,Microsoft azure_core,https://github.com/azure/azure-sdk-for-rust,MIT,Microsoft Corp. +azure_core_macros,https://github.com/azure/azure-sdk-for-rust,MIT,Microsoft azure_identity,https://github.com/azure/azure-sdk-for-rust,MIT,Microsoft azure_storage,https://github.com/azure/azure-sdk-for-rust,MIT,Microsoft Corp. azure_storage_blobs,https://github.com/azure/azure-sdk-for-rust,MIT,Microsoft Corp. @@ -342,6 +343,7 @@ ipconfig,https://github.com/liranringel/ipconfig,MIT OR Apache-2.0,Liran Ringel ipcrypt-rs,https://github.com/jedisct1/rust-ipcrypt2,ISC,Frank Denis ipnet,https://github.com/krisprice/ipnet,MIT OR Apache-2.0,Kris Price ipnetwork,https://github.com/achanda/ipnetwork,MIT OR Apache-2.0,"Abhishek Chanda , Linus Färnstrand " +iri-string,https://github.com/lo48576/iri-string,MIT OR Apache-2.0,YOSHIOKA Takuma is-terminal,https://github.com/sunfishcode/is-terminal,MIT,"softprops , Dan Gohman " is_ci,https://github.com/zkat/is_ci,ISC,Kat Marchán itertools,https://github.com/rust-itertools/itertools,MIT OR Apache-2.0,bluss @@ -749,6 +751,7 @@ wasm-timer,https://github.com/tomaka/wasm-timer,MIT,Pierre Krieger