diff --git a/Cargo.lock b/Cargo.lock index d58fe23..b32ed95 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -572,7 +572,6 @@ dependencies = [ "generic-ec", "k256", "key-share", - "once_cell", "rand_core", "round-based", "serde", diff --git a/givre/Cargo.toml b/givre/Cargo.toml index 637b459..2a5cb49 100644 --- a/givre/Cargo.toml +++ b/givre/Cargo.toml @@ -23,8 +23,6 @@ sha2 = { version = "0.10", default-features = false, optional = true } serde = { version = "1", default-features = false, features = ["derive"], optional = true } -once_cell = { version = "1", optional = true } - [dev-dependencies] rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } @@ -46,4 +44,4 @@ hd-wallets = ["key-share/hd-wallets", "cggmp21-keygen?/hd-wallets"] all-ciphersuites = ["ciphersuite-secp256k1", "ciphersuite-ed25519", "ciphersuite-bitcoin"] ciphersuite-secp256k1 = ["generic-ec/curve-secp256k1", "k256", "sha2", "static_assertions"] ciphersuite-ed25519 = ["generic-ec/curve-ed25519", "sha2"] -ciphersuite-bitcoin = ["ciphersuite-secp256k1", "dep:once_cell"] +ciphersuite-bitcoin = ["ciphersuite-secp256k1"] diff --git a/givre/src/lib.rs b/givre/src/lib.rs index 4160d45..b3f46c5 100644 --- a/givre/src/lib.rs +++ b/givre/src/lib.rs @@ -20,7 +20,7 @@ //! [CGGMP21]: https://github.com/dfns/cggmp21 //! [draft]: https://www.ietf.org/archive/id/draft-irtf-cfrg-frost-15.html -#![forbid(unsafe_code)] +#![forbid(unsafe_code, unused_crate_dependencies)] #![deny(clippy::expect_used, clippy::unwrap_used, clippy::panic)] #![deny(missing_docs)] #![allow(clippy::type_complexity)]