Keats / jsonwebtoken

JWT lib in rust
MIT License
1.67k stars 266 forks source link

Problem with dependency time #279

Closed hanusek closed 10 months ago

hanusek commented 1 year ago

Hello @Keats
I have a problem with dependency: error: failed to select a version for the requirement time = "=0.3.17" How to fix it?

Cargo.toml:

[package]
name = "jwt_tests"
version = "0.1.0"
edition = "2018"

[dependencies]
jsonwebtoken = "8"
serde = {version = "1.0", features = ["derive"] }

My compiler: rust 1.54 (required by yocto).

log:

$ cargo +1.54 b
    Updating crates.io index
error: failed to select a version for the requirement `time = "=0.3.17"`
candidate versions found which didn't match: 0.3.15, 0.3.14, 0.3.13, ...
location searched: crates.io index
required by package `simple_asn1 v0.6.2`
    ... which is depended on by `jsonwebtoken v8.2.0`
    ... which is depended on by `speedy_tests v0.1.0 (/home/mhanusek/work/code/rnd/jwt_tests)`