Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Github workflow for changelog verification ([#89](https://github.com/opensearch-project/opensearch-rs/pull/89))

### Changed
- Update base64 dependency from ^0.13 to ^0.20 ([#95](https://github.com/opensearch-project/opensearch-rs/pull/95))

### Deprecated

Expand All @@ -16,4 +17,4 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Security


[Unreleased]: https://github.com/opensearch-project/opensearch-rs/compare/2.0...HEAD
[Unreleased]: https://github.com/opensearch-project/opensearch-rs/compare/2.0...HEAD
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