From a8dcf302161daa858f5c8b25d562f72e4614c6a7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 14:31:22 +0000 Subject: [PATCH] Update Rust crate jsonwebtoken to v9 --- src/abacus/Cargo.lock | 46 ++++++++---------------------------- src/abacus/server/Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 37 deletions(-) diff --git a/src/abacus/Cargo.lock b/src/abacus/Cargo.lock index 36fd396fcd..8ca1418e0b 100644 --- a/src/abacus/Cargo.lock +++ b/src/abacus/Cargo.lock @@ -1276,13 +1276,13 @@ dependencies = [ [[package]] name = "jsonwebtoken" -version = "8.3.0" +version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" +checksum = "1e863f95209c79b9b8b001c4b03463385f890a765dbc4e0802cb8d4177e3e410" dependencies = [ "base64 0.21.4", "pem", - "ring 0.16.20", + "ring", "serde", "serde_json", "simple_asn1", @@ -1685,11 +1685,12 @@ dependencies = [ [[package]] name = "pem" -version = "1.1.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +checksum = "3163d2912b7c3b52d651a055f2c7eec9ba5cd22d26ef75b8dd3a59980b185923" dependencies = [ - "base64 0.13.1", + "base64 0.21.4", + "serde", ] [[package]] @@ -2107,21 +2108,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin 0.5.2", - "untrusted 0.7.1", - "web-sys", - "winapi", -] - [[package]] name = "ring" version = "0.17.4" @@ -2131,8 +2117,8 @@ dependencies = [ "cc", "getrandom", "libc", - "spin 0.9.8", - "untrusted 0.9.0", + "spin", + "untrusted", "windows-sys 0.48.0", ] @@ -2548,7 +2534,7 @@ dependencies = [ "rand", "regex", "reqwest", - "ring 0.17.4", + "ring", "rusoto_core", "rusoto_s3", "sentry", @@ -2700,12 +2686,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - [[package]] name = "spin" version = "0.9.8" @@ -3116,12 +3096,6 @@ dependencies = [ "void", ] -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - [[package]] name = "untrusted" version = "0.9.0" diff --git a/src/abacus/server/Cargo.toml b/src/abacus/server/Cargo.toml index c153423e5f..a7b62771ba 100644 --- a/src/abacus/server/Cargo.toml +++ b/src/abacus/server/Cargo.toml @@ -23,7 +23,7 @@ futures = "0.3.28" hex = "0.4.3" http = "0.2.9" image = { version = "0.24.7", default-features = false, features = ["jpeg", "png"] } -jsonwebtoken = "8.3.0" +jsonwebtoken = "9.0.0" juniper = { version = "0.15.11", default-features = false, features = ["schema-language"] } lazy_static = "1.4.0" md-5 = "0.10.6"