Cotton code
17 lines · 571 B · TOMLRaw
[package]name = "cotton-gen"version = "0.1.0"edition.workspace = truelicense.workspace = truepublish.workspace = truedescription = "Renders the two apps' generated Swift design system from cotton-core's design data."[[bin]]name = "cotton-gen"path = "src/main.rs"# ONE dependency, and it is the data. A renderer that reached for a template# engine, a JSON library or a clock would be a renderer whose output could stop# being a pure function of `cotton_core::design` — and `--check` compares bytes.[dependencies]cotton-core = { path = "../cotton-core" }