File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66- Github workflow for changelog verification ([ #89 ] ( https://github.com/opensearch-project/opensearch-rs/pull/89 ) )
77
88### Changed
9+ - Update base64 dependency from ^0.13 to ^0.20 ([ #95 ] ( https://github.com/opensearch-project/opensearch-rs/pull/95 ) )
910
1011### Deprecated
1112
@@ -16,4 +17,4 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1617### Security
1718
1819
19- [ Unreleased ] : https://github.com/opensearch-project/opensearch-rs/compare/2.0...HEAD
20+ [ Unreleased ] : https://github.com/opensearch-project/opensearch-rs/compare/2.0...HEAD
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ rustls-tls = ["reqwest/rustls-tls"]
2929aws-auth = [" aws-sigv4" , " aws-types" ]
3030
3131[dependencies ]
32- base64 = " ^0.13 "
32+ base64 = " ^0.20 "
3333bytes = " ^1.0"
3434dyn-clone = " ~1"
3535lazy_static = " 1.4"
Original file line number Diff line number Diff line change @@ -414,7 +414,8 @@ impl Transport {
414414 Credentials :: ApiKey ( i, k) => {
415415 let mut header_value = b"ApiKey " . to_vec ( ) ;
416416 {
417- let mut encoder = Base64Encoder :: new ( & mut header_value, base64:: STANDARD ) ;
417+ let mut encoder =
418+ Base64Encoder :: from ( & mut header_value, & base64:: engine:: DEFAULT_ENGINE ) ;
418419 write ! ( encoder, "{}:" , i) . unwrap ( ) ;
419420 write ! ( encoder, "{}" , k) . unwrap ( ) ;
420421 }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ license = "Apache-2.0"
1212opensearch = { path = " ../opensearch" , features = [" experimental-apis" ]}
1313api_generator = { path = " ./../api_generator" }
1414
15- base64 = " ^0.13 "
15+ base64 = " ^0.20 "
1616clap = " ~2"
1717failure = " 0.1.6"
1818itertools = " 0.10.0"
You can’t perform that action at this time.
0 commit comments