diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-11-16 11:04:36 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-12-14 14:05:21 +0100 |
commit | d411fb80983a4d4ebb9f023599c38e34a26551e7 (patch) | |
tree | fc970ff950923f7c400b24163f4079b3c6ba48cf /net | |
parent | 251541318fdf453c5d756794b906cce2fd69b675 (diff) |
openpgp: Introduce trait Parse.
- Trait Parse introduces a uniform interface to parse packets,
messages, keys, and related data structures.
Diffstat (limited to 'net')
-rw-r--r-- | net/src/async.rs | 1 | ||||
-rw-r--r-- | net/tests/hkp.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net/src/async.rs b/net/src/async.rs index 9cd298b6..df82a7aa 100644 --- a/net/src/async.rs +++ b/net/src/async.rs @@ -18,6 +18,7 @@ use url::Url; use openpgp::TPK; use openpgp::{KeyID, armor, serialize::Serialize}; +use openpgp::parse::Parse; use sequoia_core::{Context, NetworkPolicy}; use super::{Error, Result}; diff --git a/net/tests/hkp.rs b/net/tests/hkp.rs index fc960eed..cf8e27b8 100644 --- a/net/tests/hkp.rs +++ b/net/tests/hkp.rs @@ -25,6 +25,7 @@ extern crate sequoia_net; use openpgp::armor::Reader; use openpgp::TPK; use openpgp::{Fingerprint, KeyID}; +use openpgp::parse::Parse; use sequoia_core::{Context, NetworkPolicy}; use sequoia_net::KeyServer; |