-
Notifications
You must be signed in to change notification settings - Fork 37
/
Cargo.toml
49 lines (41 loc) · 1.44 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
[package]
name = "ruzstd"
version = "0.8.0"
authors = ["Moritz Borcherding <[email protected]>"]
edition = "2018"
license = "MIT"
homepage = "https://github.com/KillingSpark/zstd-rs"
repository = "https://github.com/KillingSpark/zstd-rs"
description = "A decoder for the zstd compression format"
exclude = ["decodecorpus_files/*", "dict_tests/*", "fuzz_decodecorpus/*"]
readme = "Readme.md"
keywords = ["zstd", "zstandard", "decompression"]
categories = ["compression"]
[dependencies]
twox-hash = { version = "2.0", default-features = false, features = ["xxhash64"], optional = true }
# Internal feature, only used when building as part of libstd, not part of the
# stable interface of this crate.
compiler_builtins = { version = "0.1.2", optional = true }
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
[dev-dependencies]
criterion = "0.5"
rand = { version = "0.8.5", features = ["small_rng"] }
zstd = "0.13.2"
[features]
default = ["hash", "std"]
hash = ["dep:twox-hash"]
fuzz_exports = []
std = []
# Internal feature, only used when building as part of libstd, not part of the
# stable interface of this crate.
rustc-dep-of-std = ["dep:compiler_builtins", "dep:core", "dep:alloc"]
[[bench]]
name = "decode_all"
harness = false
[[bin]]
name = "zstd"
required-features = ["std"]
[[bin]]
name = "zstd_stream"
required-features = ["std"]