M0.1: Cargo workspace with layered crates

Edition 2024 workspace with the crates from docs/architecture.md, each
declaring its layer in package.metadata.lutra. Records the M0 architecture
decisions (highlighting, Git library, terminal, text buffer).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-10-13 20:24:06 +02:00
parent 1fc46daa8e
commit b10a2a72f9
31 changed files with 421 additions and 9 deletions

17
xtask/Cargo.toml Normal file
View file

@ -0,0 +1,17 @@
[package]
name = "xtask"
description = "Project automation: ci, layers, assets, cleanroom, dev, fixtures"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
publish.workspace = true
[package.metadata.lutra]
layer = "tool"
[dependencies]
[lints]
workspace = true

6
xtask/src/main.rs Normal file
View file

@ -0,0 +1,6 @@
//! Project automation for Lutra, run as `cargo xtask <command>`.
/// Entry point; the subcommands arrive with milestone M0.3.
fn main() {
println!("xtask");
}