From af0cd391de184ffe5d3ad8727c055172d4a79ee8 Mon Sep 17 00:00:00 2001 From: "oxide-renovate[bot]" <146848827+oxide-renovate[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 04:10:19 +0000 Subject: [PATCH] Update Rust crate jsonwebtoken to v9 --- Cargo.lock | 36 ++++++++++++++++++++++++++++++------ Cargo.toml | 2 +- 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e9d4a90..d254525 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1392,13 +1392,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6971da4d9c3aa03c3d8f3ff0f4155b534aad021292003895a469716b2a230378" dependencies = [ "base64 0.21.5", - "pem", + "pem 1.1.1", "ring 0.16.20", "serde", "serde_json", "simple_asn1", ] +[[package]] +name = "jsonwebtoken" +version = "9.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "155c4d7e39ad04c172c5e3a99c434ea3b4a7ba7960b38ecd562b270b097cce09" +dependencies = [ + "base64 0.21.5", + "pem 3.0.2", + "ring 0.17.5", + "serde", + "serde_json", + "simple_asn1", +] + [[package]] name = "lazy_static" version = "1.4.0" @@ -1522,7 +1536,7 @@ dependencies = [ "futures-timer", "http", "iso8601", - "jsonwebtoken", + "jsonwebtoken 8.3.0", "lazy_static", "log", "meilisearch-index-setting-macro", @@ -1805,11 +1819,11 @@ dependencies = [ "chrono", "dirs 3.0.2", "http", - "jsonwebtoken", + "jsonwebtoken 8.3.0", "log", "mime", "parse_link_header", - "pem", + "pem 1.1.1", "percent-encoding 2.3.1", "reqwest", "reqwest-conditional-middleware", @@ -1988,6 +2002,16 @@ dependencies = [ "base64 0.13.1", ] +[[package]] +name = "pem" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3163d2912b7c3b52d651a055f2c7eec9ba5cd22d26ef75b8dd3a59980b185923" +dependencies = [ + "base64 0.21.5", + "serde", +] + [[package]] name = "pem-rfc7468" version = "0.7.0" @@ -2517,7 +2541,7 @@ dependencies = [ "http", "hyper", "hyper-rustls", - "jsonwebtoken", + "jsonwebtoken 9.1.0", "meilisearch-sdk", "mockall", "oauth2", @@ -2563,7 +2587,7 @@ dependencies = [ "config", "dirs 5.0.1", "itertools 0.11.0", - "jsonwebtoken", + "jsonwebtoken 9.1.0", "oauth2", "owo-colors", "progenitor-client", diff --git a/Cargo.toml b/Cargo.toml index 8ae7fb0..03566f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ http = "0.2.11" hyper = "0.14.27" hyper-rustls = "0.24.2" itertools = "0.11.0" -jsonwebtoken = "8.3.0" +jsonwebtoken = "9.1.0" meilisearch-sdk = { version = "0.24.2", default-features = false, features = ["reqwest-rustls"] } md-5 = "0.10.6" mime_guess = "2.0.4"