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 requirement from 0.21 to 0.22 #67

Merged
merged 2 commits into from
Mar 15, 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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build-cli = ["dep:clap"]
[dependencies]
ark-serialize = { version = "0.4.0", optional = true, default-features = false, features = ["derive"] }
ark-std = { version = "0.4.0", default-features = false }
base64 = "0.21"
base64 = "0.22"
crc-any = { version = "2.4.1", default-features = false }
serde = { version = "1.0", optional = true, features = ["derive"] }
snafu = { version = "0.7", features = ["backtraces"] }
Expand Down
4 changes: 2 additions & 2 deletions tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use base64::engine::Engine;
use quickcheck_macros::quickcheck;

use std::convert::TryInto;

Check warning on line 7 in tests/tests.rs

View workflow job for this annotation

GitHub Actions / code-coverage

the item `TryInto` is imported redundantly
use std::str;
use tagged_base64::*;

Expand Down Expand Up @@ -366,7 +366,7 @@
fn wasm_error_to_string() {
assert_eq!(
JsValue::from(Tb64Error::from(base64::DecodeError::InvalidByte(66, 42))),
to_jsvalue("invalid base 64: Invalid byte 42, offset 66.")
to_jsvalue("invalid base 64: Invalid symbol 42, offset 66.")
);
}

Expand All @@ -377,7 +377,7 @@
"{}",
Tb64Error::from(base64::DecodeError::InvalidByte(66, 42))
),
"invalid base 64: Invalid byte 42, offset 66."
"invalid base 64: Invalid symbol 42, offset 66."
);
}

Expand Down
Loading