fixup: cleanup extern crates

This commit is contained in:
dignifiedquire 2022-12-09 15:40:56 +01:00
parent fa9e16e938
commit ce3b8d3689
3 changed files with 1 additions and 15 deletions

View file

@ -11,13 +11,7 @@
//! Benchmark the Diffie-Hellman operation.
#[macro_use]
extern crate criterion;
extern crate curve25519_dalek;
extern crate rand_core;
extern crate x25519_dalek;
use criterion::Criterion;
use criterion::{criterion_group, criterion_main, Criterion};
use rand_core::OsRng;

View file

@ -155,12 +155,6 @@
//!
//! [crypto_box]: https://github.com/RustCrypto/AEADs/tree/master/crypto_box
extern crate curve25519_dalek;
extern crate rand_core;
extern crate zeroize;
mod x25519;
pub use crate::x25519::*;

View file

@ -281,8 +281,6 @@ fn clamp_scalar(mut scalar: [u8; 32]) -> Scalar {
///
/// # Example
/// ```
/// # extern crate rand_core;
/// #
/// use rand_core::OsRng;
/// use rand_core::RngCore;
///