Skip to main content

Crate rar_stream

Crate rar_stream 

Source
Expand description

RAR streaming library with NAPI bindings.

Rust port of rar-stream for streaming files from RAR archives. Optimized for video streaming with fast seeking via binary search.

Supports RAR15 (RAR 1.5-4.x) and RAR50 (RAR 5.0+) formats.

§Features

  • Core library has zero dependencies
  • async - Async file reading with tokio
  • napi - Node.js bindings
  • wasm - Browser WASM bindings

Re-exports§

pub use error::RarError;
pub use decompress::CompressionMethod;
pub use decompress::DecompressError;
pub use decompress::Rar29Decoder;

Modules§

decompress
RAR decompression algorithms.
error
Error types for RAR parsing.
formats
RAR format detection and signatures.
parsing
RAR header parsing modules.

Structs§

LocalFileMedia
Local file implementation.
ReadInterval
Interval for reading a byte range.