-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from delta-incubator/web-identity
Prepare a refactor to support WebIdentityProvider from rusoto for authentication
- Loading branch information
Showing
3 changed files
with
77 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Changelog | ||
|
||
|
||
## v0.5.0 | ||
|
||
* Remove exported `DEFAULT_MAX_RETRY_ACQUIRE_LOCK_ATTEMPTS` which is not used within the | ||
crate | ||
* Introduce the `sts` feature to add `WebIdentityProvider` support for | ||
authentication | ||
* Refactored `DynamoDbLockClient` instantiation to follow a builder pattern, start with `for_region` rather than `new` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[package] | ||
name = "dynamodb_lock" | ||
description = "Distributed lock backed by Dynamodb" | ||
version = "0.4.3" | ||
authors = ["Mykhailo Osypov <[email protected]>"] | ||
version = "0.5.0" | ||
authors = [ | ||
"Mykhailo Osypov <[email protected]>", | ||
"R Tyler Croy <[email protected]>", | ||
] | ||
edition = "2018" | ||
readme = "README.md" | ||
license = "Apache-2.0" | ||
|
@@ -18,10 +21,14 @@ uuid = { version = "1.2", features = ["serde", "v4"] } | |
# https://github.com/rusoto/rusoto/issues/1980 | ||
rusoto_core = { version = "0.47", default-features = false } | ||
rusoto_dynamodb = { version = "0.47", default-features = false } | ||
rusoto_credential = { version = "0.47", default-features = false, optional = true} | ||
rusoto_sts = { version ="0.47", default-features = false, optional = true } | ||
maplit = "1" | ||
tokio = { version = "1", features = ["fs", "macros", "rt", "io-util"] } | ||
|
||
[features] | ||
default = ["rustls"] | ||
sts = ["rusoto_sts", | ||
"rusoto_credential"] | ||
native-tls = ["rusoto_core/native-tls", "rusoto_dynamodb/native-tls"] | ||
rustls = ["rusoto_core/rustls", "rusoto_dynamodb/rustls"] |
This file contains 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