-
Notifications
You must be signed in to change notification settings - Fork 29
/
Cargo.toml
94 lines (79 loc) · 2.33 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
authors = ["Pascal Seitz <pascal.seitz@gmail.com>", "Arthur Silva <arthurprs@gmail.com>", "ticki <Ticki@users.noreply.github.com>"]
description = "Fastest LZ4 implementation in Rust, no unsafe by default."
edition = "2021"
keywords = ["compression", "lz4", "compress", "decompression", "decompress"]
name = "lz4_flex"
homepage = "https://github.com/pseitz/lz4_flex"
repository = "https://github.com/pseitz/lz4_flex"
readme = "README.md"
license = "MIT"
version = "0.11.3"
include = ["src/*.rs", "src/frame/**/*", "src/block/**/*", "README.md", "LICENSE"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dev-dependencies]
criterion = { git = "https://github.com/PSeitz/criterion.rs/", rev = "cf60ffc"}
lzzzz = "1.0.4"
lz4-compress = "0.1.1"
more-asserts = "0.3.1"
snap = "1.1.0"
serde_json = "1.0.91"
proptest = "1.0.0"
binggan = { version = "0.8"}
jemallocator = "0.5.4"
[dev-dependencies.lz-fear]
git = "https://github.com/main--/rust-lz-fear"
#Uncomment to make lz4_flex master available as lz4_flex_master
#[dev-dependencies.lz4_flex_master]
#rev= "a122673" # v10
#git = "https://github.com/PSeitz/lz4_flex"
#package = "lz4_flex"
#default-features=false
#features = ["std", "safe-encode", "safe-decode", "frame"]
[features]
default = ["std", "safe-encode", "safe-decode", "frame", "checked-decode"]
safe-decode = []
safe-encode = []
checked-decode = [] # Adds important checks while decoding. Only remove on trusted input!
frame = ["std", "dep:twox-hash"]
std = []
# use nightly compiler features
nightly = []
[dependencies]
twox-hash = { version = "1.6.3", default-features = false, optional = true }
[profile.bench]
codegen-units = 1
lto = true
opt-level = 3
[profile.release]
codegen-units = 1
#debug = true
opt-level = 3
panic = "unwind"
[[bench]]
harness = false
name = "binggan_bench"
path = "benches/binggan_bench.rs"
#[[bench]]
#harness = false
#name = "crit_bench"
#path = "benches/crit_bench.rs"
# [[bench]]
# harness = false
# name = "quickbench"
# path = "benches/quickbench.rs"
# [[bench]]
# harness = false
# name = "bench"
# path = "benches/bench.rs"
# [[bin]]
# name = "decompress_with_stats"
# path = "src/test_bins/decompress_with_stats.rs"
# [[bin]]
# name = "profile_decomp"
# path = "src/test_bins/profile_decomp.rs"
# [[bin]]
# name = "profile_comp"
# path = "src/test_bins/profile_comp.rs"