From ffb15aa4567af3152633d07a4598444659a8fbd8 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 26 Feb 2020 14:13:19 +0100 Subject: openpgp: Add a prelude file to import things related to certificates - Add `openpgp/src/cert/prelude.rs` to import most types and traits related to certificates. - Use it instead of using the types and traits individually. --- tool/src/commands/inspect.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/src/commands/inspect.rs') diff --git a/tool/src/commands/inspect.rs b/tool/src/commands/inspect.rs index 6d423239..e7372f11 100644 --- a/tool/src/commands/inspect.rs +++ b/tool/src/commands/inspect.rs @@ -4,7 +4,7 @@ use clap; extern crate sequoia_openpgp as openpgp; use crate::openpgp::{Packet, Result}; -use crate::openpgp::cert::components::{Amalgamation, ValidAmalgamation}; +use crate::openpgp::cert::prelude::*; use openpgp::packet::key::PublicParts; use crate::openpgp::parse::{Parse, PacketParserResult}; use crate::openpgp::policy::Policy; -- cgit v1.2.3