Keats / jsonwebtoken

JWT lib in rust
MIT License
1.69k stars 271 forks source link

Use newest version of ring #116

Closed MarcAntoine-Arnaud closed 4 years ago

MarcAntoine-Arnaud commented 4 years ago

using version 0.16.9 of ring fixes the build for WebAssembly target of JsonWebToken.

Keats commented 4 years ago

No need to change that, you should already get the latest 0.16 version if you cargo update

MarcAntoine-Arnaud commented 4 years ago

the version is hardcoded "0.16.5" to be able to use newest version you have to change with: "^0.16.5".

Keats commented 4 years ago

Cargo default to ^ for resolution so with ring = "0.16.5", it will take the latest version of0.16.xwhich is currently0.16.9`. You can check by looking at the Cargo.lock generated.

MarcAntoine-Arnaud commented 4 years ago

Hoo okay I have fixed it using the latest version (7.0.0) released recently. It works now ! Thank you