Skip to main content

Crate rars

Crate rars 

Source
Expand description

High-level RAR archive API.

This crate is the public facade over the version-specific format modules. It 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.

Modules§

rar13
rar50
rar15_40

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.
ArchiveSignature
ExtractedEntryMeta
Metadata supplied to streaming extraction callbacks.
FeatureSet

Enums§

Archive
A parsed RAR archive, preserving the concrete archive family.
ArchiveFamily
ArchiveMemberDetail
Family-specific member metadata.
ArchiveMemberHash
Strong hash metadata attached to an archive member.
ArchiveVersion
Error

Constants§

SFX_SCAN_LIMIT
Default upper bound for scanning past an SFX stub when looking for the RAR signature. Most installers in the wild place the archive within a few hundred KiB, but large SFX modules (notably WinRAR’s own installer plus a bundled runtime) can push the offset past 1 MiB.

Functions§

detect_archive_family
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.
find_archive_start

Type Aliases§

Result