-
- Downloads
Remove vestiges of the old TimeSource implementation & refactor (#2877)
## Motivation and Context
When `TimeSource` was created, we didn't carefully track down all the
places and left a bit of existing implementation to limit the scope of
the change.
## Description
This removes the public (doc hidden) Testing code from
aws-credential-types and our other test time sources instead.
## Testing
- IT/UT
## Checklist
<!--- If a checkbox below is not applicable, then please DELETE it
rather than leaving it unchecked -->
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the
smithy-rs codegen or runtime crates
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS
SDK, generated SDK code, or SDK runtime crates
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
---------
Co-authored-by:
John DiSanti <jdisanti@amazon.com>
Showing
- CHANGELOG.next.toml 12 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-config/Cargo.toml 1 addition, 0 deletionsaws/rust-runtime/aws-config/Cargo.toml
- aws/rust-runtime/aws-config/src/default_provider/credentials.rs 6 additions, 11 deletions...st-runtime/aws-config/src/default_provider/credentials.rs
- aws/rust-runtime/aws-config/src/imds/client.rs 7 additions, 9 deletionsaws/rust-runtime/aws-config/src/imds/client.rs
- aws/rust-runtime/aws-config/src/imds/credentials.rs 7 additions, 16 deletionsaws/rust-runtime/aws-config/src/imds/credentials.rs
- aws/rust-runtime/aws-config/src/lib.rs 2 additions, 3 deletionsaws/rust-runtime/aws-config/src/lib.rs
- aws/rust-runtime/aws-config/src/provider_config.rs 6 additions, 4 deletionsaws/rust-runtime/aws-config/src/provider_config.rs
- aws/rust-runtime/aws-config/src/sts/assume_role.rs 7 additions, 8 deletionsaws/rust-runtime/aws-config/src/sts/assume_role.rs
- aws/rust-runtime/aws-credential-types/Cargo.toml 1 addition, 1 deletionaws/rust-runtime/aws-credential-types/Cargo.toml
- aws/rust-runtime/aws-credential-types/src/cache/lazy_caching.rs 49 additions, 41 deletions...st-runtime/aws-credential-types/src/cache/lazy_caching.rs
- aws/rust-runtime/aws-credential-types/src/lib.rs 0 additions, 2 deletionsaws/rust-runtime/aws-credential-types/src/lib.rs
- aws/rust-runtime/aws-credential-types/src/time_source.rs 0 additions, 142 deletionsaws/rust-runtime/aws-credential-types/src/time_source.rs
- rust-runtime/aws-smithy-async/src/test_util.rs 33 additions, 1 deletionrust-runtime/aws-smithy-async/src/test_util.rs
Loading
Please register or sign in to comment