[package]
edition = "2024"
rust-version = "1.99"
name = "sofie-cli"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The `sofie` command: gen, check and the tools reading the app model."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/sofie-rs/sofie"
[features]
default = [
"docs",
"openapi",
"typescript",
"mcp",
]
docs = []
mcp = ["docs"]
openapi = []
slow-tests = []
typescript = []
[lib]
name = "sofie_cli"
path = "src/lib.rs"
[[bin]]
name = "sofie"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "gen_migration"
path = "tests/gen_migration.rs"
[[test]]
name = "mcp"
path = "tests/mcp.rs"
[[test]]
name = "new_code"
path = "tests/new_code.rs"
[[test]]
name = "new_mail_and_account_screens"
path = "tests/new_mail_and_account_screens.rs"
[[test]]
name = "shop_development_start"
path = "tests/shop_development_start.rs"
[[test]]
name = "split"
path = "tests/split.rs"
[[test]]
name = "traffic"
path = "tests/traffic.rs"
[dependencies.proc-macro2]
version = "1.0.107"
[dependencies.quote]
version = "1.0.47"
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sofie-check]
version = "0.1.0"
[dependencies.sofie-core]
version = "0.1.0"
[dependencies.sofie-engine]
version = "0.1.0"
features = [
"analysis",
"client-compile",
"compile",
]
[dependencies.sofie-model]
version = "0.1.0"
[dependencies.sofie-values]
version = "0.1.0"
features = [
"fixtures",
"time",
]
[dependencies.syn]
version = "3.0.7"
features = [
"full",
"visit",
]
[dependencies.tokio]
version = "1.53.2"
features = [
"rt",
"signal",
]
[dev-dependencies.tokio]
version = "1.53.2"
features = [
"rt",
"time",
]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
unused_async = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"