summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openpgp/NEWS1
-rw-r--r--openpgp/src/parse.rs6
2 files changed, 7 insertions, 0 deletions
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::{