diff --git a/Cargo.lock b/Cargo.lock index 0d699e3..fff3121 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -550,6 +550,7 @@ dependencies = [ "cggmp21-keygen", "curve25519-dalek", "digest", + "futures", "generic-ec", "generic-ec-curves", "k256", diff --git a/givre/Cargo.toml b/givre/Cargo.toml index 0dcf72a..64fc25b 100644 --- a/givre/Cargo.toml +++ b/givre/Cargo.toml @@ -27,6 +27,7 @@ curve25519-dalek = { version = "4", default-features = false, optional = true } [dev-dependencies] rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } +futures = "0.3" [features] default = ["std"] diff --git a/givre/src/lib.rs b/givre/src/lib.rs index f7343ba..bbaada1 100644 --- a/givre/src/lib.rs +++ b/givre/src/lib.rs @@ -178,6 +178,12 @@ pub use round_based; pub mod ciphersuite; pub mod signing; +#[cfg(test)] +mod _unused_deps { + // `futures` causes false-positive because it's only used in the docs examples + use futures as _; +} + /// Key share /// /// This module re-exports type definitions from [`key_share`](::key_share) crate.