Skip to content

Commit 613b66b

Browse files
authored
json feature always requires base64 feature (#2668)
It should fix build failure when only json feature is enabled. ``` % cargo build --no-default-features --features json error[E0433]: failed to resolve: use of undeclared crate or module `base64` --> parquet/src/record/api.rs:691:46 | 691 | Field::Bytes(b) => Value::String(base64::encode(b.data())), | ^^^^^^ use of undeclared crate or module `base64` For more information about this error, try `rustc --explain E0433`. error: could not compile `parquet` due to previous error ```
1 parent a37c038 commit 613b66b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parquet/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ arrow = ["dep:arrow", "base64"]
7474
# Enable CLI tools
7575
cli = ["json", "base64", "clap", "arrow/csv"]
7676
# Enable JSON APIs
77-
json = ["serde_json"]
77+
json = ["serde_json", "base64"]
7878
# Enable internal testing APIs
7979
test_common = ["arrow/test_utils"]
8080
# Experimental, unstable functionality primarily used for testing

0 commit comments

Comments
 (0)