diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-03-21 12:11:55 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-03-23 11:33:43 +0100 |
commit | 560faea8ee7ea5e0535f642a32ff36a2bb5279a1 (patch) | |
tree | a9982dd5a4dd44b0bd52ac427722192164e9a403 /net/src | |
parent | dc0043e28aa140bc2f6509fad04652e9e71cba8a (diff) |
openpgp: Move the TPK type definition to openpgp proper.
- We define all types in the root of the openpgp crate, and their
implementations in separate modules. This makes using these types
much simpler, yet keeps the root from getting too crowded.
- Also fix all users accordingly.
Diffstat (limited to 'net/src')
-rw-r--r-- | net/src/async.rs | 2 | ||||
-rw-r--r-- | net/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/src/async.rs b/net/src/async.rs index 27b5b44b..9ee962e2 100644 --- a/net/src/async.rs +++ b/net/src/async.rs @@ -16,7 +16,7 @@ use std::io::Cursor; use tokio_core::reactor::Handle; use url::Url; -use openpgp::tpk::TPK; +use openpgp::TPK; use openpgp::{KeyID, armor}; use sequoia_core::{Context, NetworkPolicy}; diff --git a/net/src/lib.rs b/net/src/lib.rs index 94baaa05..d01aa93d 100644 --- a/net/src/lib.rs +++ b/net/src/lib.rs @@ -56,7 +56,7 @@ use tokio_core::reactor::Core; use url::Url; use openpgp::KeyID; -use openpgp::tpk::TPK; +use openpgp::TPK; use sequoia_core::Context; pub mod async; |