diff --git a/benches/bench.rs b/benches/bench.rs index 04d9bee..89a3ee6 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -2,7 +2,6 @@ #![feature(test)] -extern crate ryu; extern crate test; macro_rules! benches { diff --git a/examples/upstream_benchmark.rs b/examples/upstream_benchmark.rs index 7b91265..437855b 100644 --- a/examples/upstream_benchmark.rs +++ b/examples/upstream_benchmark.rs @@ -1,8 +1,5 @@ // cargo run --example upstream_benchmark --release -extern crate rand; -extern crate ryu; - use rand::{Rng, SeedableRng}; const SAMPLES: usize = 10000; diff --git a/src/lib.rs b/src/lib.rs index ec49ae0..8974ed7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -88,9 +88,6 @@ allow(cast_lossless, many_single_char_names, unreadable_literal,) )] -#[cfg(feature = "no-panic")] -extern crate no_panic; - mod buffer; mod common; mod d2s; diff --git a/tests/d2s_table_test.rs b/tests/d2s_table_test.rs index 8f27726..9e30e71 100644 --- a/tests/d2s_table_test.rs +++ b/tests/d2s_table_test.rs @@ -20,8 +20,6 @@ #![allow(dead_code)] -extern crate core; - #[path = "../src/common.rs"] mod common; diff --git a/tests/d2s_test.rs b/tests/d2s_test.rs index a4118be..32a7821 100644 --- a/tests/d2s_test.rs +++ b/tests/d2s_test.rs @@ -18,9 +18,6 @@ // is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. -extern crate rand; -extern crate ryu; - #[macro_use] mod macros; diff --git a/tests/exhaustive.rs b/tests/exhaustive.rs index 5c36969..e97045e 100644 --- a/tests/exhaustive.rs +++ b/tests/exhaustive.rs @@ -1,8 +1,5 @@ #![cfg(exhaustive)] -extern crate num_cpus; -extern crate ryu; - use std::str; use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::Arc; diff --git a/tests/f2s_test.rs b/tests/f2s_test.rs index e6aaf5b..57eba43 100644 --- a/tests/f2s_test.rs +++ b/tests/f2s_test.rs @@ -18,9 +18,6 @@ // is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. -extern crate rand; -extern crate ryu; - #[macro_use] mod macros;