From 7996ff993dbc1c74497dc5f2b471869043c50e14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 26 Jul 2026 00:58:20 +0000 Subject: [PATCH 1/2] chore(deps): bump base64 from 0.22.1 to 0.23.0 Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.22.1 to 0.23.0. - [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md) - [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.22.1...v0.23.0) --- updated-dependencies: - dependency-name: base64 dependency-version: 0.23.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 22 ++++++++++++++-------- arrow-cast/Cargo.toml | 2 +- arrow-flight/Cargo.toml | 2 +- parquet-variant-json/Cargo.toml | 2 +- parquet/Cargo.toml | 4 ++-- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 34ddeafea743..ecf18221d42a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -289,7 +289,7 @@ dependencies = [ "arrow-schema", "arrow-select", "atoi", - "base64", + "base64 0.23.0", "chrono", "comfy-table", "criterion", @@ -348,7 +348,7 @@ dependencies = [ "arrow-select", "arrow-string", "assert_cmd", - "base64", + "base64 0.23.0", "bytes", "clap", "criterion", @@ -673,6 +673,12 @@ version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +[[package]] +name = "base64" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b25655df2c3cdd83c5e5b293b88acd880332b2ddadd7c30ac43144fdc0033da9" + [[package]] name = "bigdecimal" version = "0.4.10" @@ -1666,7 +1672,7 @@ version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" dependencies = [ - "base64", + "base64 0.22.1", "bytes", "futures-channel", "futures-util", @@ -2237,7 +2243,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "622acbc9100d3c10e2ee15804b0caa40e55c933d5aa53814cd520805b7958a49" dependencies = [ "async-trait", - "base64", + "base64 0.22.1", "bytes", "chrono", "form_urlencoded", @@ -2339,7 +2345,7 @@ dependencies = [ "arrow-ipc", "arrow-schema", "arrow-select", - "base64", + "base64 0.23.0", "brotli", "bytes", "chrono", @@ -2424,7 +2430,7 @@ name = "parquet-variant-json" version = "59.1.0" dependencies = [ "arrow-schema", - "base64", + "base64 0.23.0", "chrono", "parquet-variant", "serde_json", @@ -2890,7 +2896,7 @@ version = "0.12.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" dependencies = [ - "base64", + "base64 0.22.1", "bytes", "futures-core", "futures-util", @@ -3562,7 +3568,7 @@ checksum = "fec7c61a0695dc1887c1b53952990f3ad2e3a31453e1f49f10e75424943a93ec" dependencies = [ "async-trait", "axum", - "base64", + "base64 0.22.1", "bytes", "flate2", "h2", diff --git a/arrow-cast/Cargo.toml b/arrow-cast/Cargo.toml index 81649353d182..5a0bb95aa57b 100644 --- a/arrow-cast/Cargo.toml +++ b/arrow-cast/Cargo.toml @@ -52,7 +52,7 @@ num-traits = { version = "0.2.19", default-features = false, features = ["std"] lexical-core = { version = "1.0", default-features = false, features = ["write-integers", "write-floats", "parse-integers", "parse-floats"] } atoi = "2.0.0" comfy-table = { version = "7", optional = true, default-features = false } -base64 = "0.22" +base64 = "0.23" ryu = "1.0.16" [dev-dependencies] diff --git a/arrow-flight/Cargo.toml b/arrow-flight/Cargo.toml index e9fc019ed14b..83a8dc542e2f 100644 --- a/arrow-flight/Cargo.toml +++ b/arrow-flight/Cargo.toml @@ -39,7 +39,7 @@ arrow-row = { workspace = true, optional = true } arrow-select = { workspace = true, optional = true } arrow-schema = { workspace = true } arrow-string = { workspace = true, optional = true } -base64 = { version = "0.22", default-features = false, features = ["std"] } +base64 = { version = "0.23", default-features = false, features = ["std"] } bytes = { version = "1", default-features = false } futures = { version = "0.3", default-features = false, features = ["alloc"] } once_cell = { version = "1", optional = true } diff --git a/parquet-variant-json/Cargo.toml b/parquet-variant-json/Cargo.toml index 76c639d2ee38..6ae6222da0b6 100644 --- a/parquet-variant-json/Cargo.toml +++ b/parquet-variant-json/Cargo.toml @@ -33,7 +33,7 @@ arrow-schema = { workspace = true } parquet-variant = { workspace = true } chrono = { workspace = true } serde_json = "1.0" -base64 = "0.22" +base64 = "0.23" uuid = "1.18.0" # uuid requires the `js` feature to run on wasm diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml index ca9a848884d5..f49275272bf4 100644 --- a/parquet/Cargo.toml +++ b/parquet/Cargo.toml @@ -62,7 +62,7 @@ chrono = { workspace = true } num-bigint = { version = "0.5", default-features = false } num-integer = { version = "0.1.46", default-features = false, features = ["std"] } num-traits = { version = "0.2.19", default-features = false, features = ["std"] } -base64 = { version = "0.22", default-features = false, features = ["std", ], optional = true } +base64 = { version = "0.23", default-features = false, features = ["std", ], optional = true } clap = { version = "4.1", default-features = false, features = ["std", "derive", "env", "help", "error-context", "usage"], optional = true } serde = { version = "1.0", default-features = false, features = ["derive"], optional = true } serde_json = { version = "1.0", default-features = false, features = ["std"], optional = true } @@ -77,7 +77,7 @@ simdutf8 = { workspace = true , optional = true } ring = { version = "0.17", default-features = false, features = ["std"], optional = true } [dev-dependencies] -base64 = { version = "0.22", default-features = false, features = ["std"] } +base64 = { version = "0.23", default-features = false, features = ["std"] } criterion = { workspace = true, default-features = false, features = ["async_futures"] } snap = { version = "1.0", default-features = false } tempfile = { version = "3.0", default-features = false } From a91dfa5a67e42a7b7127389a73c6911f1a810633 Mon Sep 17 00:00:00 2001 From: Jefffrey Date: Sun, 26 Jul 2026 11:37:27 +0900 Subject: [PATCH 2/2] implement padding for test engine --- arrow-cast/src/base64.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arrow-cast/src/base64.rs b/arrow-cast/src/base64.rs index ea53aa5dcc89..c2baae437516 100644 --- a/arrow-cast/src/base64.rs +++ b/arrow-cast/src/base64.rs @@ -154,6 +154,10 @@ mod tests { } Ok(len) } + + fn padding(&self) -> base64::alphabet::Symbol { + base64::alphabet::Symbol::new(b'=').unwrap() + } } #[test]