diff --git a/rust/benches/benchmark.rs b/rust/benches/benchmark.rs index ceb79cdb..231174e2 100644 --- a/rust/benches/benchmark.rs +++ b/rust/benches/benchmark.rs @@ -1,9 +1,4 @@ -#[macro_use] -extern crate criterion; -extern crate hacl_star; -extern crate rand; - -use criterion::{BatchSize, Criterion}; +use criterion::{criterion_group, criterion_main, BatchSize, Criterion}; // 1 MB const PAYLOAD_SIZE: usize = 0x100000;