commit - 0fd8c09dc329bca16595bcf514c7bb82af41b22a
commit + 17bbca2b6553435231caa80e0513b947c3ee01c5
blob - 006d8c18c173c08036273fd3aca11dab6d17eb69
blob + 3c0f6b4bc6901d049434f6b6a0f549c2a81e309f
--- Cargo.toml
+++ Cargo.toml
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"] }
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