Skip to content

Commit 1e781c6

Browse files
Merge #717
717: chore: Bump jsonwebtoken crate to 10.0.0 r=curquiza a=kumarUjjawal # Pull Request Bump `jsonwebtoken` crate to `10.0.0` to add the "aws_lc_rs" feature which will allow in reducing the double compilation. ## Related issue Fixes #715 ## What does this PR do? ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Upgraded the underlying token processing library to a new major release with non-blocking support and enhanced cryptography options, improving performance and security posture. * **Tests** * Improved test build configuration for token-related structures to streamline test scenarios; no impact on runtime behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Kumar Ujjawal <ujjawalpathak6@gmail.com>
2 parents 5e84bdf + a3277e4 commit 1e781c6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ futures-channel = "0.3.31"
3333
futures-util = { version = "0.3.31", default-features = false, features = ["io"] }
3434

3535
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
36-
jsonwebtoken = { version = "9.3.1", default-features = false }
36+
jsonwebtoken = { version = "10.0.0", default-features = false, features = ["aws_lc_rs"]}
3737
tokio = { version = "1.38", optional = true, features = ["time"] }
3838

3939
[target.'cfg(target_arch = "wasm32")'.dependencies]

src/tenant_tokens.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use time::OffsetDateTime;
66
#[cfg(not(target_arch = "wasm32"))]
77
use uuid::Uuid;
88

9+
#[cfg_attr(test, derive(Clone))]
910
#[derive(Debug, Serialize, Deserialize)]
1011
#[serde(rename_all = "camelCase")]
1112
struct TenantTokenClaim {

0 commit comments

Comments
 (0)