-
Notifications
You must be signed in to change notification settings - Fork 31
/
Cargo.toml
76 lines (65 loc) · 1.93 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
[package]
authors = ["Pascal Seitz <[email protected]>", "Arthur Silva <[email protected]>", "ticki <[email protected]>"]
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]
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.12.0"}
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 = "quickbench"
# path = "benches/quickbench.rs"
# [[bench]]
# harness = false
# name = "bench"
# path = "benches/bench.rs"