diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-10-14 11:36:45 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-10-14 12:01:22 +0200 |
commit | 57531dbe5b277a46982e4dd2b0ab6c20ebe43682 (patch) | |
tree | 9fddc14e92f2da4fd7c99c145d4c7ea76bf6a993 /net/src/wkd.rs | |
parent | ea4eaf796404c0fde15509274190cc4668c5d08e (diff) |
Replace most 'extern crate' directives with 'use'.
- See #480.
Diffstat (limited to 'net/src/wkd.rs')
-rw-r--r-- | net/src/wkd.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/src/wkd.rs b/net/src/wkd.rs index 07f322bc..53ecdfb5 100644 --- a/net/src/wkd.rs +++ b/net/src/wkd.rs @@ -14,8 +14,6 @@ // XXX: We might want to merge the 2 structs in the future and move the // functions to methods. -extern crate tempfile; -extern crate tokio_core; use std::collections::HashMap; use std::fmt; @@ -29,6 +27,7 @@ use hyper_tls::HttpsConnector; use url; use crate::openpgp::{ + self, Fingerprint, Cert, }; @@ -265,9 +264,7 @@ fn parse_body<S: AsRef<str>>(body: &[u8], email_address: S) /// # Example /// /// ```no_run -/// extern crate tokio_core; /// use tokio_core::reactor::Core; -/// extern crate sequoia_net; /// use sequoia_net::wkd; /// /// let email_address = "foo@bar.baz"; |