-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (75 loc) · 2.39 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (75 loc) · 2.39 KB
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
[workspace]
members = ["crates/core", "crates/encode", "crates/decode", "crates/cat"]
exclude = ["bench", "fuzz", "jsr"]
[package]
name = "burli"
version = "0.3.1"
edition = "2024"
rust-version = "1.89"
description = "Fast, memory-safe Rust Brotli codec"
license = "MIT"
repository = "https://github.com/paddor/burli"
categories = ["compression"]
keywords = ["brotli", "compression", "decompression", "web"]
include = ["/src/**/*", "/README.md", "/CHANGELOG.md", "/LICENSE", "/DESIGN.md", "/SAFETY.md", "/SECURITY.md", "!jsr/**"]
[features]
default = ["std"]
std = ["alloc", "burli-core/std", "burli-encode/std", "burli-decode/std"]
alloc = ["burli-core/alloc", "burli-encode/alloc", "burli-decode/alloc"]
nightly = ["burli-core/nightly", "burli-encode/nightly", "burli-decode/nightly"]
paranoid = ["burli-core/paranoid", "burli-encode/paranoid", "burli-decode/paranoid"]
[dependencies]
burli-core = { version = "0.3.0", path = "crates/core", default-features = false }
burli-encode = { version = "0.3.1", path = "crates/encode", default-features = false }
burli-decode = { version = "0.3.1", path = "crates/decode", default-features = false }
[lints]
workspace = true
[dev-dependencies]
proptest = "1"
rust-brotli = { package = "brotli", version = "8.0.4" }
[[test]]
name = "burli-api"
path = "tests/api.rs"
[[test]]
name = "burli-c-brotli"
path = "tests/c_brotli.rs"
[[test]]
name = "burli-errors"
path = "tests/errors.rs"
[[test]]
name = "burli-google-conformance"
path = "tests/google_conformance.rs"
[[test]]
name = "burli-roundtrip"
path = "tests/roundtrip.rs"
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
cast_lossless = "allow"
cast_precision_loss = "allow"
ptr_as_ptr = "allow"
ptr_cast_constness = "allow"
cast_ptr_alignment = "allow"
inline_always = "allow"
too_many_lines = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
doc_markdown = "allow"
similar_names = "allow"
items_after_statements = "allow"
wildcard_imports = "allow"
needless_bitwise_bool = "allow"
single_match_else = "allow"
manual_ilog2 = "allow"
bool_to_int_with_if = "allow"
if_not_else = "allow"
option_if_let_else = "allow"
module_name_repetitions = "allow"
[profile.release]
lto = "thin"
codegen-units = 1