Unified the C# mod and the Rust compiler into a monorepo

This commit is contained in:
2025-11-26 16:02:00 -07:00
parent 346b6e49e6
commit 353dc16944
34 changed files with 253 additions and 14 deletions

35
rust_compiler/Cargo.toml Normal file
View File

@@ -0,0 +1,35 @@
[package]
name = "stationlang"
version = "0.1.0"
edition = "2021"
[workspace]
members = ["libs/*"]
[workspace.dependencies]
quick-error = "2"
rust_decimal = "1"
[profile.release]
strip = true
[[bin]]
name = "slang"
path = "src/main.rs"
[lib]
name = "slang"
path = "src/lib.rs"
crate-type = ["cdylib"]
[dependencies]
clap = { version = "^4.5", features = ["derive"] }
quick-error = { workspace = true }
rust_decimal = { workspace = true }
tokenizer = { path = "libs/tokenizer" }
parser = { path = "libs/parser" }
compiler = { path = "libs/compiler" }
[dev-dependencies]
anyhow = { version = "^1.0", features = ["backtrace"] }