From a3277e4daaaeccb0b07a00340b1f36d616d72ab2 Mon Sep 17 00:00:00 2001 From: Kumar Ujjawal Date: Wed, 15 Oct 2025 23:11:17 +0530 Subject: [PATCH] chore: Bump jsonwebtoken crate to 10.0.0 --- Cargo.toml | 2 +- src/tenant_tokens.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9bbead8e..76907589 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ futures-channel = "0.3.31" futures-util = { version = "0.3.31", default-features = false, features = ["io"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -jsonwebtoken = { version = "9.3.1", default-features = false } +jsonwebtoken = { version = "10.0.0", default-features = false, features = ["aws_lc_rs"]} tokio = { version = "1.38", optional = true, features = ["time"] } [target.'cfg(target_arch = "wasm32")'.dependencies] diff --git a/src/tenant_tokens.rs b/src/tenant_tokens.rs index 24052d41..b7c6dea9 100644 --- a/src/tenant_tokens.rs +++ b/src/tenant_tokens.rs @@ -6,6 +6,7 @@ use time::OffsetDateTime; #[cfg(not(target_arch = "wasm32"))] use uuid::Uuid; +#[cfg_attr(test, derive(Clone))] #[derive(Debug, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] struct TenantTokenClaim {