Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
src/ | H | 03-May-2022 | - | 8,032 | 8,007 | |
zstd/ | H | 03-May-2022 | - | 165,451 | 122,957 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
.cargo_vcs_info.json | H A D | 05-Nov-2019 | 74 | 6 | 5 | |
Cargo.toml | H A D | 05-Nov-2019 | 1.3 KiB | 49 | 43 | |
Cargo.toml.orig-cargo | H A D | 05-Nov-2019 | 1,006 | 46 | 39 | |
Readme.md | H A D | 08-Jul-2017 | 937 | 36 | 24 | |
build.rs | H A D | 01-Nov-2019 | 4.2 KiB | 154 | 118 | |
update_bindings.sh | H A D | 27-Sep-2019 | 582 | 6 | 4 | |
update_zstd.sh | H A D | 05-Nov-2019 | 1.5 KiB | 58 | 45 | |
zstd.h | H A D | 27-Sep-2019 | 576 | 22 | 10 |
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