Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Improve `InstanceMetadataProvider` to avoid cloning unnecessarily
- Remove deprecated `Error::description` implementations
- Add features `serialize_structs` and `deserialize_structs`
- Implement Clone on various Credential structs.

## [0.42.0] - 2019-11-18

Expand Down
3 changes: 3 additions & 0 deletions rusoto/credential/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ impl<P: ProvideAwsCredentials + 'static> Clone for AutoRefreshingFutureInner<P>
}

/// Future returned from `AutoRefreshingProvider`.
#[derive(Clone)]
pub struct AutoRefreshingProviderFuture<P: ProvideAwsCredentials + 'static> {
inner: AutoRefreshingFutureInner<P>,
}
Expand Down Expand Up @@ -425,6 +426,7 @@ impl<P: ProvideAwsCredentials + 'static> ProvideAwsCredentials for AutoRefreshin
/// is as locked down as possible using security best practices for your operating system.
///
/// [credential_process]: https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes
#[derive(Clone)]
pub struct DefaultCredentialsProvider(AutoRefreshingProvider<ChainProvider>);

impl DefaultCredentialsProvider {
Expand All @@ -445,6 +447,7 @@ impl ProvideAwsCredentials for DefaultCredentialsProvider {
}

/// Future returned from `DefaultCredentialsProvider`.
#[derive(Clone)]
pub struct DefaultCredentialsProviderFuture(AutoRefreshingProviderFuture<ChainProvider>);

impl Future for DefaultCredentialsProviderFuture {
Expand Down