# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "mkt-cli"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-platform marketing CLI"
homepage = "https://mktcli.com"
readme = "README.md"
keywords = [
    "marketing",
    "ads",
    "cli",
    "meta",
    "google-ads",
]
categories = ["command-line-utilities"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/diorrego/mkt-cli"

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

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

[[test]]
name = "cli_smoke"
path = "tests/cli_smoke.rs"

[[test]]
name = "mcp_integration"
path = "tests/mcp_integration.rs"

[dependencies.anstream]
version = "1"

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4"

[dependencies.mkt-cli-core]
version = "0.3.0"

[dependencies.mkt-google]
version = "0.3.0"
optional = true

[dependencies.mkt-linkedin]
version = "0.3.0"
optional = true

[dependencies.mkt-meta]
version = "0.3.0"
optional = true

[dependencies.mkt-tiktok]
version = "0.3.0"
optional = true

[dependencies.rmcp]
version = "1.7"
features = [
    "server",
    "macros",
    "transport-io",
]
optional = true

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
]

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
    "json",
]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[lints.clippy]
expect_used = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"
