From f2fac83124d9a38d9e3bb53c781eb49e063afb0b Mon Sep 17 00:00:00 2001 From: kaczmarczyck <43844792+kaczmarczyck@users.noreply.github.com> Date: Wed, 21 Sep 2022 19:32:09 +0200 Subject: [PATCH] Fix once_cell dependency (#548) * fixed version of once_cell * fixes comments * removes unnecessary fuzz dependency --- Cargo.toml | 5 +++++ libraries/crypto/Cargo.toml | 1 + 2 files changed, 6 insertions(+) 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"]