aboutsummaryrefslogtreecommitdiff
path: root/spake2/benches/spake2.rs
diff options
context:
space:
mode:
authorBrian Warner <warner@lothar.com>2018-12-20 16:01:37 -0500
committerBrian Warner <warner@lothar.com>2018-12-20 16:01:37 -0500
commitaa9674bbc150bac4352b80382724daf052072c8c (patch)
tree30f75541594804731da4ff06b1fdefaed334551b /spake2/benches/spake2.rs
parentbd19c404c6a6f316871518ace644d8ef871afc61 (diff)
parent3711fa0839f0013a2ac545c8356602d2c51e1ea8 (diff)
downloadPAKEs-aa9674bbc150bac4352b80382724daf052072c8c.tar.xz
Merge branch 'edition-2018'
Diffstat (limited to 'spake2/benches/spake2.rs')
-rw-r--r--spake2/benches/spake2.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/spake2/benches/spake2.rs b/spake2/benches/spake2.rs
index 8323342..c213947 100644
--- a/spake2/benches/spake2.rs
+++ b/spake2/benches/spake2.rs
@@ -1,9 +1,5 @@
-#[macro_use]
-extern crate bencher;
-
-extern crate spake2;
-
use bencher::Bencher;
+use bencher::{benchmark_group, benchmark_main};
use spake2::{Ed25519Group, Identity, Password, SPAKE2};
fn spake2_start(bench: &mut Bencher) {