Expand description
Pure Rust RAR4/RAR5 header-only parser.
nzbdav only needs to read archive headers to discover contained files — it never decompresses data (files must be stored with compression method m0). Pure Rust implementation — no external archive libraries required.
Re-exports§
pub use error::RarError;pub use error::Result;pub use header::ArchiveHeader;pub use header::EndArchiveHeader;pub use header::FileHeader;pub use header::RarHeader;pub use header::ServiceHeader;pub use parser::parse_all_headers;pub use parser::parse_headers;
Modules§
- crypto
- RAR5 password-protected archive decryption.
- error
- header
- RAR header types shared between RAR4 and RAR5 parsers.
- parser
- Unified RAR parser entry point.
- rar4
- RAR4 format header parser.
- rar5
- RAR5 format header parser.
Enums§
Constants§
- RAR4_
MAGIC - RAR4 magic bytes:
Rar!\x1a\x07\x00 - RAR5_
MAGIC - RAR5 magic bytes:
Rar!\x1a\x07\x01\x00