1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
//! Brings the most relevant types and traits into scope for working
//! with packets.
//!
//! Less often used types and traits that are more likely to lead to a
//! naming conflict are not brought into scope. For instance, the
//! markers [`PublicParts`], etc. are not imported to avoid potential
//! naming conflicts. Instead, they should be accessed as
//! [`key::PublicParts`]. And, [`user_attribute::Subpacket`] is not
//! imported, because it is rarely used. If required, it should be
//! imported explicitly.
//!
//! [`PublicParts`]: key::PublicParts
//! [`user_attribute::Subpacket`]: user_attribute::Subpacket
//!
//! # Examples
//!
//! ```
//! # #![allow(unused_imports)]
//! # use sequoia_openpgp as openpgp;
//! use openpgp::packet::prelude::*;
//! ```
pub use crate::packet::{
AED,
Any,
Body,
CompressedData,
Container,
Header,
Key,
Literal,
MDC,
Marker,
OnePassSig,
PKESK,
Packet,
SEIP,
SKESK,
Signature,
Tag,
Trust,
Unknown,
UserAttribute,
UserID,
aed::AED1,
key,
key::Key4,
key::SecretKeyMaterial,
one_pass_sig::OnePassSig3,
pkesk::PKESK3,
seip::SEIP1,
signature,
signature::Signature4,
signature::SignatureBuilder,
skesk::SKESK4,
skesk::SKESK5,
user_attribute,
};