From a60bddb2dc142b89ab5f297ecf1453524bccbc78 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Jan 2025 11:27:44 +0000 Subject: [PATCH] Bump base32 from 0.4.0 to 0.5.1 (#169) * Bump base32 from 0.4.0 to 0.5.1 Bumps [base32](https://github.com/andreasots/base32) from 0.4.0 to 0.5.1. - [Commits](https://github.com/andreasots/base32/compare/v0.4.0...v0.5.1) --- updated-dependencies: - dependency-name: base32 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * update to new RFC casing --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ho-Yon Mak --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/parsers/transformer.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f927e75..b40b327 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -129,9 +129,9 @@ checksum = "d27c3610c36aee21ce8ac510e6224498de4228ad772a171ed65643a24693a5a8" [[package]] name = "base32" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23ce669cd6c8588f79e15cf450314f9638f967fc5770ff1c7c1deb0925ea7cfa" +checksum = "022dfe9eb35f19ebbcb51e0b40a5ab759f46ad60cadf7297e0bd085afb50e076" [[package]] name = "base64" diff --git a/Cargo.toml b/Cargo.toml index 4b1e63c..e79ed57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] base16 = "0.2.1" -base32 = "0.4.0" +base32 = "0.5.1" chrono = "0.4" itertools = "0.14.0" fake = "2.4" diff --git a/src/parsers/transformer.rs b/src/parsers/transformer.rs index 8203816..22babaf 100644 --- a/src/parsers/transformer.rs +++ b/src/parsers/transformer.rs @@ -199,7 +199,7 @@ fn fake_base32_string() -> String { let random_bytes = SmallRng::from_rng(rand::thread_rng()) .unwrap_or_else(|_| SmallRng::from_entropy()) .gen::<[u8; 16]>(); - base32::encode(Alphabet::RFC4648 { padding: true }, &random_bytes) + base32::encode(Alphabet::Rfc4648 { padding: true }, &random_bytes) } fn fake_company_name(args: &Option>, unique: usize) -> String {