From 960f6379a6c4c2693d562af1a0d127c44d8bd26b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Jan 2025 18:19:03 +0000 Subject: [PATCH] Bump oauth2 from 4.4.2 to 5.0.0 Bumps [oauth2](https://github.com/ramosbugs/oauth2-rs) from 4.4.2 to 5.0.0. - [Release notes](https://github.com/ramosbugs/oauth2-rs/releases) - [Upgrade guide](https://github.com/ramosbugs/oauth2-rs/blob/main/UPGRADE.md) - [Commits](https://github.com/ramosbugs/oauth2-rs/compare/4.4.2...5.0.0) --- updated-dependencies: - dependency-name: oauth2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 24 ++++++++++++++++++++++-- fediproto-sync-auth-ui/Cargo.toml | 2 +- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d18879d..ae77c1b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -982,7 +982,7 @@ dependencies = [ "fediproto-sync-build-macros", "fediproto-sync-db", "fediproto-sync-lib", - "oauth2", + "oauth2 5.0.0", "serde", "tokio", "tracing", @@ -1935,7 +1935,7 @@ dependencies = [ "chrono", "futures-util", "hex", - "oauth2", + "oauth2 4.4.2", "rand 0.8.5", "regex", "reqwest 0.12.12", @@ -2169,6 +2169,26 @@ dependencies = [ "url", ] +[[package]] +name = "oauth2" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51e219e79014df21a225b1860a479e2dcd7cbd9130f4defd4bd0e191ea31d67d" +dependencies = [ + "base64 0.22.1", + "chrono", + "getrandom 0.2.15", + "http 1.2.0", + "rand 0.8.5", + "reqwest 0.12.12", + "serde", + "serde_json", + "serde_path_to_error", + "sha2 0.10.8", + "thiserror 1.0.69", + "url", +] + [[package]] name = "object" version = "0.36.7" diff --git a/fediproto-sync-auth-ui/Cargo.toml b/fediproto-sync-auth-ui/Cargo.toml index 5ab796f..612e964 100644 --- a/fediproto-sync-auth-ui/Cargo.toml +++ b/fediproto-sync-auth-ui/Cargo.toml @@ -27,7 +27,7 @@ diesel = { version = "2.2.6", features = [ ] } fediproto-sync-db = { path = "../fediproto-sync-db" } fediproto-sync-lib = { path = "../fediproto-sync-lib" } -oauth2 = "4.4.2" +oauth2 = "5.0.0" serde = { version = "1.0.217", features = ["derive"] } tokio = { version = "1.42.0", features = ["full"] } tracing = "0.1.41"