You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by tu...@apache.org on 2023/01/17 08:01:55 UTC
[arrow-rs] branch master updated: Update aws-config and aws-types requirements from 0.52 to 0.53 (#3539)
This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 767a9e7df Update aws-config and aws-types requirements from 0.52 to 0.53 (#3539)
767a9e7df is described below
commit 767a9e7df69bcb447929e772daf32c506a2ef0e1
Author: Liang-Chi Hsieh <vi...@gmail.com>
AuthorDate: Tue Jan 17 00:01:48 2023 -0800
Update aws-config and aws-types requirements from 0.52 to 0.53 (#3539)
---
object_store/Cargo.toml | 7 ++++---
object_store/src/aws/credential.rs | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/object_store/Cargo.toml b/object_store/Cargo.toml
index 4be6d63fc..8c9ede087 100644
--- a/object_store/Cargo.toml
+++ b/object_store/Cargo.toml
@@ -53,8 +53,9 @@ ring = { version = "0.16", default-features = false, features = ["std"], optiona
rustls-pemfile = { version = "1.0", default-features = false, optional = true }
# AWS Profile support
-aws-types = { version = "0.52", optional = true }
-aws-config = { version = "0.52", optional = true }
+aws-types = { version = "0.53", optional = true }
+aws-credential-types = { version = "0.53", optional = true }
+aws-config = { version = "0.53", optional = true }
[features]
cloud = ["serde", "serde_json", "quick-xml", "reqwest", "reqwest/json", "reqwest/stream", "chrono/serde", "base64", "rand", "ring"]
@@ -64,7 +65,7 @@ aws = ["cloud"]
http = ["cloud"]
# Experimental support for AWS_PROFILE
-aws_profile = ["aws", "aws-config", "aws-types"]
+aws_profile = ["aws", "aws-config", "aws-types", "aws-credential-types"]
[dev-dependencies] # In alphabetical order
dotenv = "0.15.0"
diff --git a/object_store/src/aws/credential.rs b/object_store/src/aws/credential.rs
index 199899d6f..3a6976d11 100644
--- a/object_store/src/aws/credential.rs
+++ b/object_store/src/aws/credential.rs
@@ -518,7 +518,7 @@ mod profile {
use super::*;
use aws_config::profile::ProfileFileCredentialsProvider;
use aws_config::provider_config::ProviderConfig;
- use aws_types::credentials::ProvideCredentials;
+ use aws_credential_types::provider::ProvideCredentials;
use aws_types::region::Region;
use std::time::SystemTime;