File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -43,5 +43,5 @@ tokio-stream = "0.1.2"
43
43
lambda_runtime_api_client = { version = " 0.8" , path = " ../lambda-runtime-api-client" }
44
44
serde_path_to_error = " 0.1.11"
45
45
http-serde = " 1.1.3"
46
- base64 = " 0.20 .0"
46
+ base64 = " 0.21 .0"
47
47
http-body = " 0.4"
Original file line number Diff line number Diff line change 1
1
use crate :: { Config , Error } ;
2
+ use base64:: prelude:: * ;
2
3
use bytes:: Bytes ;
3
4
use http:: { HeaderMap , HeaderValue , StatusCode } ;
4
5
use serde:: { Deserialize , Serialize } ;
@@ -208,7 +209,7 @@ impl ToStreamErrorTrailer for Error {
208
209
fn to_tailer ( & self ) -> String {
209
210
format ! (
210
211
"Lambda-Runtime-Function-Error-Type: Runtime.StreamError\r \n Lambda-Runtime-Function-Error-Body: {}\r \n " ,
211
- base64 :: encode( self . to_string( ) )
212
+ BASE64_STANDARD . encode( self . to_string( ) )
212
213
)
213
214
}
214
215
}
You can’t perform that action at this time.
0 commit comments