unrar 0.3.0

list and extract RAR archives
docs.rs failed to build unrar-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: unrar-0.5.3

unrar.rs

Travis Build Status crates.io

High-level wrapper around the unrar C library provided by rarlab.

Please look inside the examples directory to see how to use this library!

Basic example to list archive entries:

extern crate unrar;

fn main() {
    for entry in unrar::Archive::new("archive.rar").list().unwrap() {
        println!("{}", entry.unwrap());
    }
}

Run this example: cargo run --example basic_list.
Note that you need to put an archive.rar in the directory first.
For example, by using the rar CLI: rar a archive.rar .

Features

  • Multipart files
  • Listing archives
  • Extracting them
  • Testing them (not fully tested yet)
  • Encrypted archives with password
  • Linked statically against the unrar source.
  • Tests
  • Building unrar from source on build
  • Basic functionality that only uses filenames / paths (without reading archives)
  • More documentation / RustDoc

Contributing

Feel free to contribute! If you detect a bug or issue, open an issue.

Pull requests are welcome!

Help

If you need help using the library, ping me at irc.mozilla.org, my handle is danyel