[package] name = "mlf-cli" version = "0.1.0" edition = "2024" license = "MIT" [[bin]] name = "mlf" path = "src/main.rs" [dependencies] mlf-lang = { path = "../mlf-lang" } mlf-validation = { path = "../mlf-validation" } mlf-codegen = { path = "../mlf-codegen" } mlf-diagnostics = { path = "../mlf-diagnostics" } mlf-lexicon-fetcher = { path = "../mlf-lexicon-fetcher" } clap = { version = "4.5.48", features = ["derive"] } miette = { version = "7", features = ["fancy"] } thiserror = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" glob = "0.3" toml = "0.8" tokio = { version = "1", features = ["rt-multi-thread", "macros"] } reqwest = { version = "0.12", features = ["json"] } chrono = { version = "0.4", features = ["serde"] } sha2 = "0.10" # Optional code generator plugins mlf-codegen-typescript = { path = "../codegen-plugins/mlf-codegen-typescript", optional = true } mlf-codegen-go = { path = "../codegen-plugins/mlf-codegen-go", optional = true } mlf-codegen-rust = { path = "../codegen-plugins/mlf-codegen-rust", optional = true } [features] default = ["typescript", "go", "rust"] typescript = ["dep:mlf-codegen-typescript"] go = ["dep:mlf-codegen-go"] rust = ["dep:mlf-codegen-rust"]