summaryrefslogtreecommitdiffstats
path: root/net/tests
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-10-14 11:36:45 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-10-14 12:01:22 +0200
commit57531dbe5b277a46982e4dd2b0ab6c20ebe43682 (patch)
tree9fddc14e92f2da4fd7c99c145d4c7ea76bf6a993 /net/tests
parentea4eaf796404c0fde15509274190cc4668c5d08e (diff)
Replace most 'extern crate' directives with 'use'.
- See #480.
Diffstat (limited to 'net/tests')
-rw-r--r--net/tests/hkp.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/net/tests/hkp.rs b/net/tests/hkp.rs
index e095213d..ff41d9a8 100644
--- a/net/tests/hkp.rs
+++ b/net/tests/hkp.rs
@@ -1,9 +1,9 @@
-extern crate futures;
-extern crate http;
-extern crate hyper;
-extern crate rand;
-extern crate tokio_core;
-extern crate url;
+use futures;
+use http;
+use hyper;
+use rand;
+use tokio_core;
+use url;
use futures::Stream;
use futures::future::Future;
@@ -20,9 +20,9 @@ use std::net::{SocketAddr, IpAddr, Ipv4Addr};
use std::thread;
use tokio_core::reactor::Core;
-extern crate sequoia_openpgp as openpgp;
-extern crate sequoia_core;
-extern crate sequoia_net;
+use sequoia_openpgp as openpgp;
+use sequoia_core;
+use sequoia_net;
use crate::openpgp::armor::Reader;
use crate::openpgp::Cert;