Skip to main content

Crate rars

Crate rars 

Source
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§

crc32
Shared RAR CRC-32 primitives.
detect
error
features
rar13
rar50
rar15_40
version

Structs§

ArchiveMember
Common member view plus family-specific detail.
ArchiveMemberMeta
Family-independent metadata for a file-like archive member.
ArchiveMembers
Lazy iterator returned by Archive::members.
ArchiveReadOptions
Options used while parsing or extracting archives.
ArchiveReader
Archive reader facade with signature-based dispatch.
ExtractedEntryMeta
Metadata supplied to streaming extraction callbacks.

Enums§

Archive
A parsed RAR archive, preserving the concrete archive family.
ArchiveMemberDetail
Family-specific member metadata.
ArchiveMemberHash
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.