Unified the C# mod and the Rust compiler into a monorepo
This commit is contained in:
35
rust_compiler/Cargo.toml
Normal file
35
rust_compiler/Cargo.toml
Normal 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"] }
|
||||
Reference in New Issue
Block a user