Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update base64 to 0.22 #529

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update the arbitrary fuzzer to check arbitrary serde data types, values, and `ron::ser::PrettyConfig`s ([#465](https://github.com/ron-rs/ron/pull/465))
- Add a benchmark for PRs that runs over the latest fuzzer corpus ([#465](https://github.com/ron-rs/ron/pull/465))
- Fuzz serde enum representation and flatten attributes and collect current limitations in ron and serde ([#502](https://github.com/ron-rs/ron/pull/502))
- Update `base64` dependency to version 0.22 ([#529](https://github.com/ron-rs/ron/pull/529))

## [0.8.1] - 2023-08-17

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ integer128 = []

[dependencies]
# FIXME @juntyr remove base64 once old byte strings are fully deprecated
base64 = "0.21"
base64 = "0.22"
bitflags = { version = "2.0", features = ["serde"] }
indexmap = { version = "2.0", features = ["serde"], optional = true }
# serde supports i128/u128 from 1.0.60 onwards
Expand Down
2 changes: 1 addition & 1 deletion tests/438_rusty_byte_strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fn v_9_deprecated_base64_bytes_support() {
// Too much padding
assert_eq!(
Err(SpannedError {
code: Error::Base64Error(base64::DecodeError::InvalidLength),
code: Error::Base64Error(base64::DecodeError::InvalidByte(6, b'=')),
position: Position { line: 1, col: 45 }
}),
ron::from_str::<BytesStruct>("BytesStruct( small:[1, 2], large:\"AQIDBA===\" )"),
Expand Down
Loading