[package]
name = "adom-chip-thumbnailer"
version = "0.6.0"
edition = "2021"
description = "Chip icon factory: renders the full 3D chip-icon family (orientations, transparent icons, name-lasered + vector outlines) from a STEP via service-step2glb OCCT. Live web app + CLI."
license = "MIT"

[[bin]]
name = "adom-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"] }
# Web app (`chip-thumbnailer serve`): tiny embedded HTTP server + PNG
# introspection (real pixel dims + true alpha-transparency detection for
# the per-icon metadata captions).
tiny_http = "0.12"
png = "0.17"
# Decode the base64 named-STEP / named-iso payloads from the service
# /name-emboss endpoint.
base64 = "0.22"

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