aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormurilo ijanc2025-11-19 18:38:04 -0300
committermurilo ijanc2025-11-19 18:38:04 -0300
commit17bbca2b6553435231caa80e0513b947c3ee01c5 (patch)
tree1aa50e3d9d685e199ad7b4a69164c09f59891e22
parent0fd8c09dc329bca16595bcf514c7bb82af41b22a (diff)
downloadimgst-17bbca2b6553435231caa80e0513b947c3ee01c5.tar.gz
Update Cargo.toml
-rw-r--r--Cargo.toml51
1 files changed, 51 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 006d8c1..3c0f6b4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,6 +3,26 @@ 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"] }
@@ -10,3 +30,34 @@ 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