Skip to content

Commit

Permalink
make ArchiveEntry more publicly accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicexplorer committed Jul 16, 2024
1 parent 9fee2c8 commit c360b15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ pub(crate) mod zip_archive {
///
/// ```no_run
/// use std::io::prelude::*;
/// use zip::read::ArchiveEntry;
/// fn list_zip_contents(reader: impl Read + Seek) -> zip::result::ZipResult<()> {
/// let mut zip = zip::ZipArchive::new(reader)?;
///
Expand Down Expand Up @@ -110,9 +111,9 @@ use crate::unstable::{path_to_string, LittleEndianReadExt};

use crate::crc32::Crc32Reader;
use crate::unstable::read::{
construct_decompressing_reader, find_entry_content_range, ArchiveEntry, CryptoEntryReader,
CryptoVariant, ZipEntry,
construct_decompressing_reader, find_entry_content_range, CryptoEntryReader, CryptoVariant,
};
pub use crate::unstable::read::{ArchiveEntry, ZipEntry};

pub use zip_archive::ZipArchive;

Expand Down

0 comments on commit c360b15

Please sign in to comment.