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:
parent
1fc46daa8e
commit
b10a2a72f9
31 changed files with 421 additions and 9 deletions
17
apps/lutra-cli/Cargo.toml
Normal file
17
apps/lutra-cli/Cargo.toml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[package]
|
||||
name = "lutra-cli"
|
||||
description = "The lutra command-line tool"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
authors.workspace = true
|
||||
publish.workspace = true
|
||||
|
||||
[package.metadata.lutra]
|
||||
layer = 5
|
||||
|
||||
[dependencies]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
10
apps/lutra-cli/src/main.rs
Normal file
10
apps/lutra-cli/src/main.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//! The `lutra` command-line tool (layer L5).
|
||||
//!
|
||||
//! Will open projects and files in a running Lutra, wait for tabs to close,
|
||||
//! open the diff viewer and serve MCP. Until milestone M3 it only reports its
|
||||
//! version.
|
||||
|
||||
/// Prints the version and exits.
|
||||
fn main() {
|
||||
println!("lutra {}", env!("CARGO_PKG_VERSION"));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue