File: README.md

package info (click to toggle)
rust-bzip2 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,198 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# bzip2

[Documentation](https://docs.rs/bzip2)

A streaming bzip2 compression/decompression library for rust.

## Features

*`bzip2-sys`*

Attempt to use the system `libbz2`. When `libbz2` is not available, built from source.
A from-source build requires a functional C toolchain for your target, and may not
work for all targets (in particular webassembly).

```sh
bzip2 = { version = "0.5.1", default-features = false, features = ["bzip2-sys"] }
```

*`static`*

Always build `libbz2` from C source, and statically link it. This flag is only meaningful when `bzip2-sys` is used,
and has no effect when the default `libbz2-rs-sys` is used as the bzip2 implementation.

## License

This project is licensed under either of

 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
   http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or
   http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in this repository by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.