Skip to content

Commit

Permalink
[Test] fix once_cell issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hcyang-google committed Sep 21, 2022
1 parent 07c9678 commit acf8c4a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.13.1" # transitive dependency of openssl

[profile.dev]
panic = "abort"
lto = true # Link Time Optimization usually reduces size of binaries and static libraries
Expand Down
5 changes: 5 additions & 0 deletions libraries/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ regex = { version = "1", optional = true }
# whole block once CTAP is a library.
bumpalo = "=3.8.0" # transitive dependency of ring

# 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 = { version = "=1.13.1", optional = true } # transitive dependency of ring

[features]
std = ["hex", "ring", "rng256/std", "untrusted", "serde", "serde_json", "regex"]
with_ctap1 = []

0 comments on commit acf8c4a

Please sign in to comment.