[package]
name = "chip-thumbnailer"
version = "0.5.1"
edition = "2021"
description = "Renders symbol / footprint / 3D thumbnails for chip-fetcher library entries (Adom-themed SVGs + OCCT-direct PNGs via service-step2glb)."
license = "MIT"

[[bin]]
name = "chip-thumbnailer"
path = "src/main.rs"

[dependencies]
clap = { version = "4", features = ["derive", "env"] }
clap_complete = "4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = "1"
regex = "1"
# Wiki-fetch SKILL.md at install time. No fallback to embedded content
# is allowed (see gallia/skills/tool-publisher/SKILL.md "install rule").
ureq = { version = "2", default-features = false, features = ["tls"] }

[profile.release]
opt-level = "z"
lto = true
strip = true