Skip to content

Commit

Permalink
der: expose NestedReader (#925)
Browse files Browse the repository at this point in the history
`NestedReader` is exposed through `Reader::read_nested` but it's not
documented.
  • Loading branch information
baloo authored Mar 11, 2023
1 parent 6f650c1 commit 086ecd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion der/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ pub use crate::{
header::Header,
length::{IndefiniteLength, Length},
ord::{DerOrd, ValueOrd},
reader::{slice::SliceReader, Reader},
reader::{nested::NestedReader, slice::SliceReader, Reader},
tag::{Class, FixedTag, Tag, TagMode, TagNumber, Tagged},
writer::{slice::SliceWriter, Writer},
};
Expand Down
2 changes: 1 addition & 1 deletion der/src/reader.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Reader trait.
mod nested;
pub(crate) mod nested;
#[cfg(feature = "pem")]
pub(crate) mod pem;
pub(crate) mod slice;
Expand Down

0 comments on commit 086ecd7

Please sign in to comment.