-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (55 loc) · 1.95 KB
/
Copy pathCargo.toml
File metadata and controls
60 lines (55 loc) · 1.95 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
[workspace]
resolver = "2"
members = ["crates/*"]
[workspace.package]
version = "0.1.0"
edition = "2021"
# ADR-041. The LICENSE file at the repository root is the full text.
license = "GPL-2.0-only"
[workspace.dependencies]
cr-core = { path = "crates/cr-core" }
cr-io = { path = "crates/cr-io" }
cr-image = { path = "crates/cr-image" }
cr-engine = { path = "crates/cr-engine" }
cr-scrape = { path = "crates/cr-scrape" }
cr-organize = { path = "crates/cr-organize" }
cr-ui = { path = "crates/cr-ui" }
cr-cli = { path = "crates/cr-cli" }
serde = { version = "1", features = ["derive"] }
quick-xml = { version = "0.37", features = ["serialize"] }
thiserror = "2"
anyhow = "1"
regex = "1"
chrono = { version = "0.4", default-features = false, features = ["std", "clock", "serde"] }
serde_json = "1"
toml = "0.9"
clap = { version = "4", features = ["derive"] }
# ADR-041: zopfli is Apache-2.0 and in tension with GPL-2.0-only, and
# no code asks for zopfli compression (the writers use Stored and
# Deflated only). It cannot be dropped by taking zip's "deflate"
# meta-feature, because that is defined as
# deflate = ["flate2/rust_backend", "deflate-zopfli", "deflate-flate2"]
# so it pulls zopfli in unconditionally. Take the two halves instead:
# "deflate-flate2" is a MARKER ONLY (= ["_deflate-any"]) and supplies
# no backend, so "flate2" -- the implicit feature of zip's optional
# flate2 dependency -- must be listed with it. Dropping "flate2" fails
# the build with "unresolved import `flate2`" inside zip itself.
zip = { version = "2", default-features = false, features = [
"deflate-flate2",
"flate2",
"deflate64",
] }
tar = "0.4"
sha1 = "0.10"
xattr = "1"
image = { version = "0.25", default-features = false, features = ["png", "gif", "tiff", "bmp", "webp"] }
zune-jpeg = "0.4"
zune-core = "0.4"
jxl-oxide = "0.8"
libc = "0.2"
[workspace.lints.rust]
unsafe_code = "deny"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
[profile.release]
lto = "thin"