summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 40fbadda4508f24e2415f114058b0a6e0beb7b9f (plain)
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
95
96
97
98
99
100
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "lz4_flex"
version = "0.11.2"
authors = [
    "Pascal Seitz <pascal.seitz@gmail.com>",
    "Arthur Silva <arthurprs@gmail.com>",
    "ticki <Ticki@users.noreply.github.com>",
]
include = [
    "src/*.rs",
    "src/frame/**/*",
    "src/block/**/*",
    "README.md",
    "LICENSE",
]
description = "Fastest LZ4 implementation in Rust, no unsafe by default."
homepage = "https://github.com/pseitz/lz4_flex"
readme = "README.md"
keywords = [
    "compression",
    "lz4",
    "compress",
    "decompression",
    "decompress",
]
license = "MIT"
repository = "https://github.com/pseitz/lz4_flex"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[profile.bench]
opt-level = 3
lto = true
codegen-units = 1

[profile.release]
opt-level = 3
codegen-units = 1
panic = "unwind"

[[bench]]
name = "crit_bench"
path = "benches/crit_bench.rs"
harness = false

[dependencies.twox-hash]
version = "1.6.3"
optional = true
default-features = false

[dev-dependencies.lz4-compress]
version = "0.1.1"

[dev-dependencies.lzzzz]
version = "1.0.4"

[dev-dependencies.more-asserts]
version = "0.3.1"

[dev-dependencies.proptest]
version = "1.0.0"

[dev-dependencies.serde_json]
version = "1.0.91"

[dev-dependencies.snap]
version = "1.1.0"

[features]
default = [
    "std",
    "safe-encode",
    "safe-decode",
    "frame",
]
frame = [
    "std",
    "dep:twox-hash",
]
nightly = []
safe-decode = []
safe-encode = []
std = []