Skip to content

Commit

Permalink
Update base64 to 0.22 (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
a1phyr authored Mar 12, 2024
1 parent 9db03fd commit b707456
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
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

0 comments on commit b707456

Please sign in to comment.