-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This update introduces an important modification to improve the crate's compatibility with WebAssembly builds. Previously, the crate depended on the Ring crate, which posed challenges for compiling it for WebAssembly. To address this, following changes were made: 1. **Default Feature - "ring"**: The default feature continues to use the `jsonwebtoken` library, which is dependent on the Ring crate. 2. **New Optional Feature - "noring"**: Optional feature, "noring", which leverages the `jsonwebtoken-rustcrypto` library. This alternative library implements the necessary cryptographic functionalities without the dependency on the Ring crate, making it a suitable choice for wasm32-unknown-unknown targets.
- Loading branch information
Showing
11 changed files
with
663 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/target | ||
/Cargo.lock | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.