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

..03-May-2022-

src/H03-May-2022-8,0328,007

zstd/H03-May-2022-165,451122,957

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

.cargo_vcs_info.jsonH A D05-Nov-201974 65

Cargo.tomlH A D05-Nov-20191.3 KiB4943

Cargo.toml.orig-cargoH A D05-Nov-20191,006 4639

Readme.mdH A D08-Jul-2017937 3624

build.rsH A D01-Nov-20194.2 KiB154118

update_bindings.shH A D27-Sep-2019582 64

update_zstd.shH A D05-Nov-20191.5 KiB5845

zstd.hH A D27-Sep-2019576 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