lzma 0.1.1

LZMA format handling.
docs.rs failed to build lzma-0.1.1
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: lzma-0.2.2

LZMA

Build Status

LZMA handling library.

[dependencies]
lzma = "*"

Example

This example will decode and print an LZMA compressed UTF-8 text file.

use std::io::Read;
use std::env;

extern crate lzma;

fn main() {
	let mut decoder = lzma::open(&env::args().nth(1).expect("missing file")).unwrap();
	let mut string  = String::new();

	decoder.read_to_string(&mut string).unwrap();

	print!("{}", string);
}