summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/cert.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-02-20 22:10:48 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-02-20 22:11:54 +0100
commita57262d26636590eaec123d7b60b9efdd604a61e (patch)
treec3b24fe46302468ce68ff7317ebb2de314bfec42 /openpgp/src/serialize/cert.rs
parent291edaec90f6ef8dd6daab96478bd7d33a0066ab (diff)
openpgp: Add the bundle method to the Amalgamation trait.
- Add the `bundle()` method to the Amalgamation trait instead of implementing it on each struct.
Diffstat (limited to 'openpgp/src/serialize/cert.rs')
-rw-r--r--openpgp/src/serialize/cert.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/serialize/cert.rs b/openpgp/src/serialize/cert.rs
index a74ebc35..63414d8e 100644
--- a/openpgp/src/serialize/cert.rs
+++ b/openpgp/src/serialize/cert.rs
@@ -1,5 +1,6 @@
use crate::Result;
use crate::Cert;
+use crate::cert::components::Amalgamation;
use crate::packet::{key, Signature, Tag};
use crate::serialize::{
PacketRef, Serialize, SerializeInto,