Update Rust crate rusoto_credential to 0.48.0#29
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
ec26b67 to
4621fc9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.13.0→0.48.0Release Notes
rusoto/rusoto (rusoto_credential)
v0.48.0macie,mobile, andworklinkservices, which have had their DNS records removedhyper-rustlsto0.23v0.47.0serde_urlencoded0.7rustc_version0.4shlex1.0hmac0.4time-related types inrusoto_signaturewithchronotypes, tomatch
rusoto_credentialmd5crate for the RustCryptomd-5crate, to matchusage of RustCrypto
sha2crateSyncconstraint onByteStream-related functions.async-trait,percent-encoding, andserdeto_stringhelperscratev0.46.0rusoto_core::Clientin docsrusoto_mock::MultipleMockRequestDispatcherbase640.13bytes1.0hmac0.10hyper-rustls0.22hyper-tls0.5hyper0.14tokio1.0dirscrate for its replacementdirs-nextpin-projectfor the lighter weightpin-project-litechrono'soldtimefeatureregexv0.45.0subscribe_to_shardcall in Kinesis)rusoto_batch::JobDetailhmac0.8 andsha20.9Syncbounds toAsyncReadandReadstructuresv0.44.0Time::now()andOffsetDateTime::now()deprecation warningstimecrate+in query stringsMultipleMockRequestDispatcherto permit mocking multiple requests using the same clientrusoto_sts::WebIdentityProvider::from_k8s_envalways requiringAWS_ROLE_SESSION_NAMEenv var which should be optionalrusoto_sts::WebIdentityProviderregion_from_profile()function to ProfileProviderContent-Encodingnew_with_size()function to ByteStreamv0.43.0PrimitiveDateTimedeprecation errorserialize_structsanddeserialize_structsWebIdentityProviderresource_record_setsmethodsDisplayimpl forRusotoError::UnknownRusotoFutureand fix docs generation on nightlycredential_process, agains3.{region}.amazonaws.comv0.42.0params for s3
list_objectsmethods2017-01-11rusoto_signature, a standalone crate for signing HTTP requests.such as an S3 key returned in
list_objects_v2x-amz-content-sha256header not being signed: #1545rustlsto be used inrusoto_mock: #1557v0.41.1rusoto_credentialsession token handling: #1528v0.41.0HttpClient::from_builder1.12.163to1.12.230rusoto_events::{CloudWatchEvents,CloudWatchEventsClient}were renamed torusoto_events::{EventBridge,EventBridgeClient}#[test]per behaviorEqandHashimplementations onRegionv0.40.02018-11-05serde_jsoncrate from services where it was not requiredtest_resourcesin cargo manifest1.12.156to1.12.163should_sha256_sign_payloadargument toSignedRequest::generate_presigned_url.v0.39.0Vec<u8>toBytesv0.17.0: 0.17.0Compare Source
Big thank you to our contributors for helping make these happen:
derives used: #391head_objectand prevent panics from escaping to user: #377v0.16.0: 0.16.0Compare Source
This will allow users to respond to specific errors instead handling the
AWSErrorcatch-all that was previously in use. Generated methods now returnResult<FooResult, FooError>whereFooErrorenumerates the specific errors that can be generated by the method (per the botocore service definitions), and implements RustErrortrait for proper composition. See the documentation for details e.g., https://rusoto.github.io/rusoto/rusoto/sqs/enum.CreateQueueError.htmlCloneDispatchSignedRequesttrait that hides implementation details of HTTP request dispatch (Hyper by default)This allows for easy mocking of interactions with AWS and opens the door for rich unit tests of generated services with the sample responses provided in AWS API documentation.
cn-north-1region--features allsince you probably don't need 40+ AWS services built, and that doing so will use a lot of memorydebug!()logging of non-UTF-8 responses caused a panicv0.15.0: 0.15.0Compare Source
Several changes to allow AWS services to be threadsafe.
&mut selfSyncand!Syncimplementations, to allow users to choose whether they want to incur the overhead of aMutexto allow expired credentials to be automatically refreshed via interior mutability.DefaultCredentailsProviderandDefaultCredentialsProviderSyncto cover the 99% of cases where users just want automatically refreshed credentials from the standard credentials chain.Pull AWS_SESSION_TOKEN from the environment for credentials (allowing rusoto to run in a Lambda with an IAM role)
Fixed a bug when S3 path names contained spaces
Adds support for nearly all JSON protocol services that weren't yet supported. Including:
v0.14.0: 0.14.0Compare Source
Fix a bug with blob deserialization.
Add support for the ap-northeast-2 region.
Move the
rusoto_helperscrate into the mainrusotorepository.Add support for Kinesis with typed errors.
Modify build script output so the codegen is only rerun when necessary.
Minor documentation changes.
Update serde/syntex dependency versions.
Add EC2 support.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.