diff --git a/Cargo.lock b/Cargo.lock index b3159b85..3b66824f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -819,9 +819,9 @@ checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" [[package]] name = "base32" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23ce669cd6c8588f79e15cf450314f9638f967fc5770ff1c7c1deb0925ea7cfa" +checksum = "d1ce0365f4d5fb6646220bb52fe547afd51796d90f914d4063cb0b032ebee088" [[package]] name = "base64" @@ -4235,7 +4235,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" dependencies = [ "cfg-if", - "windows-targets 0.48.5", + "windows-targets 0.52.5", ] [[package]] @@ -5347,7 +5347,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80b776a1b2dc779f5ee0641f8ade0125bc1298dd41a9a0c16d8bd57b42d222b1" dependencies = [ "bytes", - "heck 0.4.1", + "heck 0.5.0", "itertools 0.12.1", "log", "multimap 0.10.0", diff --git a/net/aws/Cargo.toml b/net/aws/Cargo.toml index 775a8ce0..0cba40b5 100644 --- a/net/aws/Cargo.toml +++ b/net/aws/Cargo.toml @@ -12,7 +12,7 @@ rust-version.workspace = true [dependencies] async-stream = "0.3.4" -base32 = "0.4" +base32 = "0.5" aws-config = "1.0" aws-sdk-s3 = "1.0" aws-sdk-transcribestreaming = "1.0" diff --git a/net/aws/src/s3url.rs b/net/aws/src/s3url.rs index 714d18ea..f11dd308 100644 --- a/net/aws/src/s3url.rs +++ b/net/aws/src/s3url.rs @@ -60,9 +60,9 @@ pub fn parse_s3_url(url_str: &str) -> Result { .or_else(|_| { let (name, endpoint) = host.split_once('+').ok_or(())?; let name = - base32::decode(base32::Alphabet::RFC4648 { padding: true }, name).ok_or(())?; + base32::decode(base32::Alphabet::Rfc4648 { padding: true }, name).ok_or(())?; let endpoint = - base32::decode(base32::Alphabet::RFC4648 { padding: true }, endpoint).ok_or(())?; + base32::decode(base32::Alphabet::Rfc4648 { padding: true }, endpoint).ok_or(())?; let name = String::from_utf8(name).map_err(|_| ())?; let endpoint = String::from_utf8(endpoint).map_err(|_| ())?; Ok(format!("{name}{endpoint}"))