diff --git a/Cargo.toml b/Cargo.toml index 91e2211..815d727 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,11 @@ sk-cbor = { path = "libraries/cbor" } uuid = { version = "0.8", features = ["v4"] } openssl = "0.10.36" +# We explicitly lock the version of those transitive dependencies because their +# Cargo.toml don't parse with the nightly compiler used by Tock. Remove this +# whole block once CTAP is a library. +once_cell = "=1.14" # transitive dependency of openssl + [profile.dev] panic = "abort" lto = true # Link Time Optimization usually reduces size of binaries and static libraries diff --git a/libraries/crypto/Cargo.toml b/libraries/crypto/Cargo.toml index 3763bc8..465bead 100644 --- a/libraries/crypto/Cargo.toml +++ b/libraries/crypto/Cargo.toml @@ -25,6 +25,7 @@ regex = { version = "1", optional = true } # Cargo.toml don't parse with the nightly compiler used by Tock. Remove this # whole block once CTAP is a library. bumpalo = "=3.8.0" # transitive dependency of ring +once_cell = { version = "=1.14", optional = true } # transitive dependency of ring [features] std = ["hex", "ring", "rng256/std", "untrusted", "serde", "serde_json", "regex"]