zstd 0.4.10

Binding for the zstd compression library.
docs.rs failed to build zstd-0.4.10
Please check the build logs and, if you believe this is docs.rs' fault, open an issue.

Rust binding to the zstd library.

This crate provides:

  • An encoder to compress data using zstd and send the output to another write.
  • A decoder to read input data from a Read and decompress it.
  • Convenient functions for common tasks.


extern crate zstd;

use std::io;

fn main() {
	// Uncompress input and print the result.
	zstd::stream::copy_decode(io::stdin(), io::stdout()).unwrap();