diff options
author | Brian Warner <warner@lothar.com> | 2018-12-06 11:48:10 -0800 |
---|---|---|
committer | Brian Warner <warner@lothar.com> | 2018-12-06 15:00:20 -0800 |
commit | 59203944db2c9c1f1e0ee19c721633c637ec40b2 (patch) | |
tree | 921dcbceafb3da66fe41b0165f0346803d1ed457 /spake2/benches/spake2.rs | |
parent | dcf4842af1070da895f3b458e6fe620ee584d0e7 (diff) | |
download | PAKEs-59203944db2c9c1f1e0ee19c721633c637ec40b2.tar.xz |
update spake2 to edition-2018
Diffstat (limited to 'spake2/benches/spake2.rs')
-rw-r--r-- | spake2/benches/spake2.rs | 6 |
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) { |