-
Notifications
You must be signed in to change notification settings - Fork 112
/
Cargo.toml
60 lines (51 loc) · 1.28 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
55
56
57
58
59
60
[package]
authors = ["Alexandre Bury <alexandre.bury@gmail.com>"]
build = "build.rs"
categories = [
"api-bindings",
"compression",
]
description = "Low-level bindings for the zstd compression library."
keywords = [
"zstd",
"zstandard",
"compression",
]
license = "MIT/Apache-2.0"
links = "zstd"
name = "zstd-sys"
readme = "Readme.md"
repository = "https://github.com/gyscos/zstd-rs"
version = "1.6.0+zstd.1.5.0"
edition = "2018"
exclude = [
"zstd",
"!zstd/LICENSE",
"!zstd/COPYING",
"!zstd/lib/**/**.h",
"!zstd/lib/**/**.c",
]
[package.metadata.docs.rs]
features = ["experimental"]
[lib]
doctest=false # Documentation is for C code, good luck testing that.
[build-dependencies.bindgen]
optional = true
version = "0.58"
[build-dependencies.pkg-config]
optional = true
version = "0.3"
[build-dependencies.cc]
version = "1.0.45"
features = ["parallel"]
[dependencies]
libc = "0.2.45"
[features]
default = ["legacy"]
debug = [] # Enable zstd debug logs
experimental = [] # Expose experimental ZSTD API
legacy = [] # Enable legacy ZSTD support (for versions < zstd-0.8)
non-cargo = [] # Silence cargo-specific build flags
std = [] # Use std types instead of libc in bindgen
zstdmt = [] # Enable multi-thread support (with pthread)
thin = [] # Optimize binary by size