diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-11-25 11:29:37 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-11-25 11:35:06 +0100 |
commit | 9c6174635ac40a32b273bf78493c1d6db3cc2d34 (patch) | |
tree | 6cb90209caa44931abe6061144af3cfbd61711e5 /openpgp-ffi | |
parent | 6b3574906ed2cd647a6d4f8dcb3243e3dd0d5616 (diff) |
openpgp: Rename openpgp::constants to openpgp::types.
- Fixes #381.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r-- | openpgp-ffi/src/parse/stream.rs | 2 | ||||
-rw-r--r-- | openpgp-ffi/src/serialize.rs | 2 | ||||
-rw-r--r-- | openpgp-ffi/src/tpk.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/openpgp-ffi/src/parse/stream.rs b/openpgp-ffi/src/parse/stream.rs index 87582ee6..0dbe3408 100644 --- a/openpgp-ffi/src/parse/stream.rs +++ b/openpgp-ffi/src/parse/stream.rs @@ -17,7 +17,7 @@ extern crate sequoia_openpgp as openpgp; use self::openpgp::{ crypto::SessionKey, - constants::SymmetricAlgorithm, + types::SymmetricAlgorithm, packet::{ PKESK, SKESK, diff --git a/openpgp-ffi/src/serialize.rs b/openpgp-ffi/src/serialize.rs index d2244bab..29de025c 100644 --- a/openpgp-ffi/src/serialize.rs +++ b/openpgp-ffi/src/serialize.rs @@ -12,7 +12,7 @@ use libc::{c_char, size_t, ssize_t}; extern crate sequoia_openpgp as openpgp; -use self::openpgp::constants::{ +use self::openpgp::types::{ AEADAlgorithm, SymmetricAlgorithm, }; diff --git a/openpgp-ffi/src/tpk.rs b/openpgp-ffi/src/tpk.rs index 75c51b88..ed834a90 100644 --- a/openpgp-ffi/src/tpk.rs +++ b/openpgp-ffi/src/tpk.rs @@ -13,7 +13,7 @@ extern crate sequoia_openpgp as openpgp; use self::openpgp::{ autocrypt::Autocrypt, crypto, - constants::ReasonForRevocation, + types::ReasonForRevocation, parse::{ PacketParserResult, Parse, |