Litmus repo skeleton setup (litmus-7rix)
Set up build system and code skeleton for the litmus terminal color theme previewer. Includes Cargo workspace, three crates (litmus-model, litmus-web, litmus-cli), flake.nix, and updates to existing files.
Summary of Changes
Created the full repo skeleton:
- Cargo.toml (workspace root): resolver 2, workspace package defaults, shared deps
- rust-toolchain.toml: stable channel, wasm32-unknown-unknown target, rustfmt+clippy
- crates/litmus-model: lib crate with
ColorandThemestructs, serde derive - crates/litmus-web: bin crate with Dioxus 0.7 hello-world app, web feature flag, Dioxus.toml
- crates/litmus-cli: bin crate with stub main
- flake.nix: fenix stable toolchain + wasm target, crane builds litmus-cli, clippy+fmt checks, devShell with dioxus-cli and just
- .gitignore: added
result,result-*,dist/ - justfile: added
dev,build-web,build-cli,check,fmtrecipes