zstd 0.14.2

Binding for the zstd compression library.
Documentation
[package]
authors = ["Alexandre Bury <alexandre.bury@gmail.com>"]
description = "Binding for the zstd compression library."
documentation = "https://docs.rs/zstd"
keywords = ["zstd", "zstandard", "compression"]
categories = ["compression", "api-bindings"]
license = "BSD-3-Clause"
name = "zstd"
repository = "https://github.com/gyscos/zstd-rs"
version = "0.14.2"
exclude = ["assets/*.zst", "/.github"]
readme = "Readme.md"
edition = "2018"
rust-version = "1.64"

[package.metadata.docs.rs]
features = ["experimental", "zstdmt", "zdict_builder", "doc-cfg"]

[dependencies]
zstd-safe = { path = "zstd-safe", version = "8.1.0", default-features = false, features = ["std"] }

[dev-dependencies]
clap = {version = "4.0", features=["derive"]}
humansize = "2.0"
partial-io = "0.5"
walkdir = "2.2"

[features]
default = ["legacy", "arrays", "zdict_builder"]

bindgen = ["zstd-safe/bindgen"]
debug = ["zstd-safe/debug"]
legacy = ["zstd-safe/legacy"]
pkg-config = ["zstd-safe/pkg-config"]
vendored = ["zstd-safe/vendored"]
wasm = []
zstdmt = ["zstd-safe/zstdmt"]
experimental = ["zstd-safe/experimental"]
thin = ["zstd-safe/thin"]
arrays = ["zstd-safe/arrays"]
cmake = ["zstd-safe/cmake"]
no_asm = ["zstd-safe/no_asm"]
doc-cfg = []
zdict_builder = ["zstd-safe/zdict_builder"]
# Route every allocation zstd makes for contexts and dictionaries through
# Rust's global allocator instead of the C runtime's malloc/free.
with-rust-allocator = ["zstd-safe/with-rust-allocator"]

# These two are for cross-language LTO.
# Will only work if `clang` is used to build the C library.
fat-lto = ["zstd-safe/fat-lto"]
thin-lto = ["zstd-safe/thin-lto"]

[[example]]
name = "train"
required-features = ["zdict_builder"]