Skip to content

Commit

Permalink
Bump base64 to v0.22 (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb authored Apr 7, 2024
2 parents 6d4183d + ee79631 commit 634c41f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
14 changes: 10 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion serde_with/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ time_0_3 = ["dep:time_0_3"]

# When adding new optional dependencies, update the documentation in feature-flags.md
[dependencies]
base64 = {version = "0.21.0", optional = true, default-features = false}
base64 = {version = "0.22.0", optional = true, default-features = false}
chrono_0_4 = {package = "chrono", version = "0.4.20", optional = true, default-features = false, features = ["serde"]}
doc-comment = {version = "0.3.3", optional = true}
document-features = {version = "0.2.7", optional = true}
Expand Down
2 changes: 1 addition & 1 deletion serde_with/tests/base64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn base64_vec() {

check_error_deserialization::<BDefault>(
r#"["0"]"#,
expect!["Encoded text cannot have a 6-bit remainder. at line 1 column 4"],
expect!["Invalid input length: 1 at line 1 column 4"],
);
check_error_deserialization::<BDefault>(
r#"["zz"]"#,
Expand Down

0 comments on commit 634c41f

Please sign in to comment.