-
Notifications
You must be signed in to change notification settings - Fork 112
/
Cargo.toml
54 lines (46 loc) · 1.45 KB
/
Cargo.toml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[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 = "MIT"
name = "zstd"
repository = "https://github.com/gyscos/zstd-rs"
version = "0.13.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"]
[badges]
travis-ci = { repository = "gyscos/zstd-rs" }
[dependencies]
zstd-safe = { path = "zstd-safe", version = "7.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"]
wasm = []
zstdmt = ["zstd-safe/zstdmt"]
experimental = ["zstd-safe/experimental"]
thin = ["zstd-safe/thin"]
arrays = ["zstd-safe/arrays"]
no_asm = ["zstd-safe/no_asm"]
doc-cfg = []
zdict_builder = ["zstd-safe/zdict_builder"]
# 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"]