[package]
name = "mkt-cli"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
description = "Multi-platform marketing CLI"
readme = "../../README.md"

[[bin]]
name = "mkt"
path = "src/main.rs"

[lints]
workspace = true

[dependencies]
mkt-cli-core = { path = "../mkt-core", version = "0.3.0" }
mkt-meta = { path = "../mkt-meta", version = "0.3.0", optional = true }
mkt-google = { path = "../mkt-google", version = "0.3.0", optional = true }
mkt-tiktok = { path = "../mkt-tiktok", version = "0.3.0", optional = true }
mkt-linkedin = { path = "../mkt-linkedin", version = "0.3.0", optional = true }
anyhow.workspace = true
chrono.workspace = true
clap.workspace = true
anstream.workspace = true
clap_complete.workspace = true
rmcp = { workspace = true, optional = true }
serde.workspace = true
secrecy.workspace = true
serde_json.workspace = true
tokio.workspace = true
toml.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true

[dev-dependencies]
assert_cmd.workspace = true
predicates.workspace = true
mkt-testkit = { path = "../mkt-testkit" }

[features]
default = ["meta", "google", "tiktok", "linkedin", "mcp"]
meta = ["dep:mkt-meta"]
google = ["dep:mkt-google"]
tiktok = ["dep:mkt-tiktok"]
linkedin = ["dep:mkt-linkedin"]
mcp = ["dep:rmcp"]
full = ["meta", "google", "tiktok", "linkedin", "mcp"]
