Expand description
High-level RAR archive API.
This crate is the supported public Rust API for rars. It is the facade
over the version-specific format modules, detects archive families, exposes
common member metadata, and streams extraction or recovery output to
caller-provided writers without requiring callers to buffer whole archives
in memory. New Rust users should depend on this crate rather than the
lower-level rars-* implementation crates, which ended at 0.3.x.
Re-exports§
pub use detect::detect_archive_family;pub use detect::find_archive_start;pub use detect::ArchiveSignature;pub use detect::SFX_SCAN_LIMIT;pub use error::Error;pub use error::Result;pub use features::FeatureSet;pub use version::ArchiveFamily;pub use version::ArchiveVersion;
Modules§
Structs§
- Archive
Member - Common member view plus family-specific detail.
- Archive
Member Meta - Family-independent metadata for a file-like archive member.
- Archive
Members - Lazy iterator returned by
Archive::members. - Archive
Read Options - Options used while parsing or extracting archives.
- Archive
Reader - Archive reader facade with signature-based dispatch.
- Extracted
Entry Meta - Metadata supplied to streaming extraction callbacks.
Enums§
- Archive
- A parsed RAR archive, preserving the concrete archive family.
- Archive
Member Detail - Family-specific member metadata.
- Archive
Member Hash - Strong hash metadata attached to an archive member.
Functions§
- extract_
volumes_ to - Streams a multivolume archive set to caller-provided writers.
- extract_
volumes_ to_ with_ options - Streams a multivolume archive set to caller-provided writers with read options.