Skip to content

Commit

Permalink
Update to reqwest 0.11 / tokio 1.0
Browse files Browse the repository at this point in the history
* Update Changelog

Signed-off-by: David Gräff <[email protected]>
  • Loading branch information
David Gräff authored and davidgraeff committed Jan 20, 2021
1 parent 8e74e6a commit 761e228
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Credentials::download_google_jwks(): Update/replace public keys. Useful for long running services.
- Added/Improved tests with doctest_credentials() + deserialize_credentials()
- JWKSet::new()

### Changed

- Support for reqwest 0.11 / Tokio 1.0
- Prefer to use `AsRef<str>` when passing params
- Add ability to read raw document contents (without deserializing the JSON)
- [Breaking] Change Credentials::new: No JWKSet parameter, use with_jwkset or download_jwkset
- [Breaking] Change Credentials::from_file: Do not download jwks anymore. Use with_jwkset or download_jwkset.
- [Breaking] Rename JWKSetDTO to JWKSet
- [Breaking] jwt::download_google_jwks returns a string and not a DTO anymore for better error reporting
- [Breaking] jwt::download_google_jwks_async is behind the unstable feature now, as originally intended

## [0.6.1] - 2020-11-12

### Changed

- Change type signature for `MapValue` to allow for empty fields
- Update dependency biscuit to 0.5

## [0.6] - 2020-01-22

### Changed
Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ maintenance = { status = "passively-maintained" }
repository = "https://github.com/davidgraeff/firestore-db-and-auth-rs"

[dependencies]
reqwest = { version = "0.10.9", default-features = false, features = ["json", "blocking"] }
serde = { version = "1.0.117", features = ["derive"] }
serde_json = "1.0.59"
chrono = { version = "0.4.19", features = ["serde"] }
biscuit = "0.5.0"
ring = "0.16.18"
base64 = "0.13.0"
reqwest = { version = "0.11", default-features = false, features = ["json", "blocking"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = { version = "0.4", features = ["serde"] }
biscuit = "0.5"
ring = "0.16"
base64 = "0.13"

[dependencies.rocket]
version = "0.4.6"
Expand Down

0 comments on commit 761e228

Please sign in to comment.