chore(workspace): scaffold Rust workspace and crate graph
Create the Marqdo CLI Rust workspace with the module boundaries from the development blueprint (section 11): - marqdo-span: byte spans and line/column mapping shared by every layer - marqdo-value, marqdo-expression, marqdo-markdown, marqdo-ir - marqdo-frontend, marqdo-runtime, marqdo-host, marqdo-sandbox - marqdo-math, marqdo-foreign, marqdo-package - marqdo-plugin-abi, marqdo-plugin-sdk - marqdo-cli (binary `marqdo`) Pin the Markdown parser exactly (comrak =1.0.0, no default features) so the frozen profile can never drift silently. Dependencies are centralized in workspace.dependencies; no crate is allowed to add its own version of a shared dependency.
This commit is contained in:
1 parent
6cfb1bf967
commit
df878b434a
20 files changed
+513
No files matched your search
@@ -0,0 +1,32 @@
|
||||
[package]
|
||||
name = "marqdo-cli"
|
||||
description = "Marqdo command line interface (composition root)"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
authors.workspace = true
|
||||
|
||||
[dependencies]
|
||||
marqdo-span = { workspace = true }
|
||||
marqdo-value = { workspace = true }
|
||||
marqdo-expression = { workspace = true }
|
||||
marqdo-markdown = { workspace = true }
|
||||
marqdo-ir = { workspace = true }
|
||||
marqdo-frontend = { workspace = true }
|
||||
marqdo-math = { workspace = true }
|
||||
marqdo-foreign = { workspace = true }
|
||||
marqdo-plugin-abi = { workspace = true }
|
||||
marqdo-host = { workspace = true }
|
||||
marqdo-runtime = { workspace = true }
|
||||
marqdo-package = { workspace = true }
|
||||
marqdo-sandbox = { workspace = true }
|
||||
clap = { workspace = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
|
||||
[[bin]]
|
||||
name = "marqdo"
|
||||
path = "src/main.rs"
|
||||
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("marqdo {}", env!("CARGO_PKG_VERSION"));
|
||||
}
|
||||
Reference in new issue
Block a user