blob: d31208a5e8ad5be9db7b0eeac80a04babb1e7357 (
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
|
[package]
name = "imgst"
version = "0.1.0"
edition = "2024"
authors = ["murilo ijanc' <murilo@ijanc.org>"]
categories = ["image"]
homepage = "https://ijanc.org"
keywords = ["image", "jpg", "sanitization"]
license = "ISC"
repository = "https://got.ijanc.org/?action=summary&path=imgst"
description = "Simple Image metadata cleaner"
[workspace.lints.rust]
absolute_paths_not_starting_with_crate = "warn"
non_ascii_idents = "warn"
unit-bindings = "warn"
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)', 'cfg(coverage_nightly)'] }
tail_expr_drop_order = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_unsafe = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
[dependencies]
anyhow = "=1.0.100"
clap = { version = "=4.5.52", features = ["derive"] }
env_logger = "=0.11.8"
ignore = "=0.4.25"
log = "=0.4.28"
web-image-meta = "=0.2.1"
[profile.dev]
debug = false
[profile.test]
debug = false
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"
debug = false
panic = "abort"
[profile.release-with-debug]
inherits = "release"
strip = false
debug = true
[profile.coverage]
inherits = "release"
opt-level = 2
codegen-units = 256
lto = "thin"
debug-assertions = true
overflow-checks = true
[profile.dev-no-debug-assertions]
inherits = "dev"
debug-assertions = false
|