Keats / jsonwebtoken

JWT lib in rust
MIT License
1.64k stars 260 forks source link

compilation error #266

Closed mortifia closed 1 year ago

mortifia commented 1 year ago

https://github.com/Keats/jsonwebtoken/blob/4ae383859eef2445b068fcce6bd6279a27b79e8e/src/validation.rs#L134

Compiling jsonwebtoken v8.1.1
error[E0449]: unnecessary visibility qualifier   --> C:\Users\amela\.cargo\registry\src\github.com-1ecc6299db9ec823\jsonwebtoken-8.1.1\src\validation.rs:134:5
    |
134 |     pub fn default() -> Self {
    |     ^^^ `pub` not permitted here because it's implied

   Compiling tokio v1.21.2
For more information about this error, try `rustc --explain E0449`.
error: could not compile `jsonwebtoken` due to previous error
mortifia commented 1 year ago

finally cargo cache for this crate are corrupted 😒