-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (49 loc) · 1.62 KB
/
Copy pathCargo.toml
File metadata and controls
54 lines (49 loc) · 1.62 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
[package]
name = "wacksy"
version = "0.4.3"
edition = "2024"
rust-version = "1.88"
license = "MIT"
repository = "https://github.com/bodleian/wacksy"
documentation = "https://docs.rs/wacksy/latest/wacksy/"
description = "Experimental library for writing WACZ achives."
keywords = ["save-the-internet", "web-archive", "wacz", "warc", "cdxj"]
categories = ["encoding"]
include = ["src/**/*", "LICENSE", "README.md"]
[dependencies]
base16ct = "1.0.0"
flate2 = "1.1.9"
rawzip = "0.5.1"
sha2 = "0.11.0"
[dev-dependencies]
pretty_assertions = "1"
jsonschema = { version = "0.46.5", default-features = false, features = [
"resolve-file",
] }
serde_json = "1.0.150"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
# Enable warnings for main lint groups
cargo = { level = "warn", priority = 0 }
pedantic = { level = "warn", priority = 0 }
nursery = { level = "warn", priority = 0 }
# Use explicit syntax
implicit_return = { level = "warn", priority = 1 }
needless_return = { level = "allow", priority = 1 }
needless_continue = { level = "allow", priority = 1 }
redundant_else = { level = "allow", priority = 1 }
# Instead of opting-out of restriction lints,
# I should pick the ones I want to actually apply
std_instead_of_core = { level = "allow", priority = 1 }
missing_assert_message = { level = "warn", priority = 1 }
min_ident_chars = { level = "warn", priority = 1 }
unused_trait_names = { level = "warn", priority = 1 }
# Enable this when adding error checking
# unwrap_used = { level = "warn", priority = 1 }
[profile.release]
# Magic incantations to produce speedier release builds
strip = "symbols"
lto = true
codegen-units = 1
panic = "abort"