[package]
edition = "2024"
rust-version = "1.85"
name = "snitch-tools"
version = "0.2.0"
authors = ["Randall Marshall <info@3d3d.ca>"]
build = false
exclude = [
"/legacy",
"/docs",
"/skills",
"/.github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "snitch, no-comment and credit: find out what your image is telling people, make it stop, or put your name on it."
homepage = "https://3d3d.ca"
readme = "README.md"
keywords = [
"metadata",
"exif",
"c2pa",
"provenance",
"watermark",
]
categories = [
"command-line-utilities",
"multimedia::images",
]
license = "MIT"
repository = "https://github.com/3d3dcanada/snitch"
[lib]
name = "snitch"
path = "src/lib.rs"
[[bin]]
name = "credit"
path = "src/bin/credit.rs"
[[bin]]
name = "no-comment"
path = "src/bin/no_comment.rs"
[[bin]]
name = "snitch"
path = "src/bin/snitch.rs"
[[bin]]
name = "snitch-mcp"
path = "src/bin/snitch_mcp.rs"
[[test]]
name = "c2pa"
path = "tests/c2pa.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "mcp"
path = "tests/mcp.rs"
[[test]]
name = "png_text"
path = "tests/png_text.rs"
[[test]]
name = "surgery"
path = "tests/surgery.rs"
[[test]]
name = "text"
path = "tests/text.rs"
[dependencies.ab_glyph]
version = "0.2"
[dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false
[dependencies.image]
version = "0.25"
features = [
"jpeg",
"png",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sha2]
version = "0.10"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true