• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-10,58610,418

zstd/H03-May-2022-143,653102,789

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D01-Jan-197074 65

Cargo.tomlH A D01-Jan-19701.4 KiB5749

Cargo.toml.orig-cargoH A D01-Jan-19701.1 KiB5444

LICENSEH A D01-Jan-19701.1 KiB95

Readme.mdH A D01-Jan-1970937 3624

build.rsH A D01-Jan-19705 KiB178137

test_it.shH A D01-Jan-1970128 85

update_bindings.shH A D01-Jan-1970784 2218

update_zstd.shH A D01-Jan-19701.5 KiB6046

zstd.hH A D01-Jan-1970576 2210

Readme.md

1# zstd-sys
2
3This is the low-level auto-generated binding to the [zstd] library.
4You probably don't want to use this library directly; instead, look at [zstd-rs] or [zstd-safe].
5
6# Compile it yourself
7
8`zstd` is included as a submodule. To get everything during your clone, use:
9
10```
11git clone https://github.com/gyscos/zstd-rs --recursive
12```
13
14Or, if you cloned it without the `--recursive` flag,
15call this from inside the repository:
16
17```
18git submodule update --init
19```
20
21Then, running `cargo build` in this directory should
22take care of building the C library and linking to it.
23
24# Build-time bindgen
25
26This library includes a pre-generated `bindings.rs` file.
27You can also generate new bindings at build-time, using the `bindgen` feature:
28
29```
30cargo build --features bindgen
31```
32
33[zstd]: https://github.com/facebook/zstd
34[zstd-rs]: https://github.com/gyscos/zstd-rs
35[zstd-safe]: https://github.com/gyscos/zstd-rs/tree/master/zstd-safe
36