[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" } mlf-atproto = { path = "../mlf-atproto" } mlf-plugin-host = { path = "../mlf-plugin-host" } mlf-publish = { path = "../mlf-publish" } clap = { version = "4.5", features = ["derive"] } miette.workspace = true thiserror.workspace = true serde.workspace = true serde_json.workspace = true glob = "0.3" toml.workspace = true tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } reqwest.workspace = true chrono.workspace = true sha2 = "0.10" similar = "2" dialoguer.workspace = true # 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 } [dev-dependencies] tempfile.workspace = true [features] default = ["typescript", "go", "rust"] typescript = ["dep:mlf-codegen-typescript"] go = ["dep:mlf-codegen-go"] rust = ["dep:mlf-codegen-rust"]