Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 opensearch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rustls-tls = ["reqwest/rustls-tls"]
aws-auth = ["aws-sigv4", "aws-types"]

[dependencies]
base64 = "^0.13"
base64 = "^0.20"
bytes = "^1.0"
dyn-clone = "~1"
lazy_static = "1.4"
Expand Down
3 changes: 2 additions & 1 deletion opensearch/src/http/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,8 @@ impl Transport {
Credentials::ApiKey(i, k) => {
let mut header_value = b"ApiKey ".to_vec();
{
let mut encoder = Base64Encoder::new(&mut header_value, base64::STANDARD);
let mut encoder =
Base64Encoder::from(&mut header_value, &base64::engine::DEFAULT_ENGINE);
write!(encoder, "{}:", i).unwrap();
write!(encoder, "{}", k).unwrap();
}
Expand Down
2 changes: 1 addition & 1 deletion yaml_test_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "Apache-2.0"
opensearch = { path = "../opensearch", features = ["experimental-apis"]}
api_generator = { path = "./../api_generator" }

base64 = "^0.13"
base64 = "^0.20"
clap = "~2"
failure = "0.1.6"
itertools = "0.10.0"
Expand Down