From 330c9a66abc6ce7d6cb79e5361ad0903b4ce3ab1 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 23 Mar 2023 12:53:18 +0100 Subject: openpgp: Re-export buffered_reader. - We use this in our API, and re-exporting it here makes it easy to use the correct version of the crate in downstream code without having to explicitly depend on it. --- openpgp/NEWS | 1 + openpgp/src/parse.rs | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/openpgp/NEWS b/openpgp/NEWS index 2bd12a72..841241ea 100644 --- a/openpgp/NEWS +++ b/openpgp/NEWS @@ -11,6 +11,7 @@ - crypto::mpi::SecretKeyMaterial::from_bytes - crypto::mpi::SecretKeyMaterial::from_bytes_with_checksum - fmt::hex::Dumper::with_offset + - parse::buffered_reader re-export - policy::AsymmetricAlgorithm::BrainpoolP384 ** Deprecated functionality - crypto::mpi::SecretKeyMaterial::parse diff --git a/openpgp/src/parse.rs b/openpgp/src/parse.rs index 42881aa4..0225d79b 100644 --- a/openpgp/src/parse.rs +++ b/openpgp/src/parse.rs @@ -185,6 +185,12 @@ use std::result::Result as StdResult; use xxhash_rust::xxh3::Xxh3; +// Re-export buffered_reader. +// +// We use this in our API, and re-exporting it here makes it easy to +// use the correct version of the crate in downstream code without +// having to explicitly depend on it. +pub use buffered_reader; use ::buffered_reader::*; use crate::{ -- cgit v1.2.3