[package]
name = "adom-lbr"
version = "2.6.3"
edition = "2021"
description = "adom-lbr generator / EDA translator: the canonical adom-lbr JSON is the hub, with native converters to Altium (.SchLib/.PcbLib/.IntLib), EAGLE/Fusion (.lbr), and KiCad. Altium output is written natively — no Altium needed at conversion time."

[[bin]]
name = "adom-lbr"
path = "src/main.rs"

[dependencies]
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
regex-lite = "0.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
quick-xml = { version = "0.36", features = ["serialize"] }
tiny_http = "0.12"
anyhow = "1"
altium-codec = { path = "crates/altium-codec" }

[workspace]
members = ["crates/altium-codec", "crates/altium-schlib", "crates/altium-pcblib"]

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