forked from PSeitz/lz4_flex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
82 lines (69 loc) · 1.97 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
[package]
authors = ["Pascal Seitz <[email protected]>", "Arthur Silva <[email protected]>", "ticki <[email protected]>"]
description = "Fastest LZ4 implementation in Rust, no unsafe by default."
edition = "2018"
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.9.5"
include = ["src/*.rs", "src/frame/**/*", "src/block/**/*", "README.md"]
[[bench]]
harness = false
name = "crit_bench"
path = "benches/crit_bench.rs"
[dev-dependencies]
criterion = "0.3.5"
lzzzz = "1.0.2"
lz4-compress = "0.1.1"
more-asserts = "0.2.2"
snap = "1.0.5"
serde_json = "1.0.79"
[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= "eb8c2e090485dcb5ef9e0da96bf72a95023753c1" # before this PR was merged
# 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"]
safe-decode = []
safe-encode = []
checked-decode = []
frame = ["std", "dep:twox-hash"]
std = []
[dependencies]
twox-hash = { version = "1.6.2", default-features = false, optional = true }
[profile.bench]
codegen-units = 1
# debug = true
lto = true
opt-level = 3
[profile.release]
codegen-units = 1
debug = true
lto = true
opt-level = 3
panic = "unwind"
# [[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"