# 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-meta"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Meta (Facebook/Instagram) provider for the mkt 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"

[lib]
name = "mkt_meta"
path = "src/lib.rs"

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

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

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

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

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "multipart",
    "rustls-tls",
    "gzip",
    "brotli",
]
default-features = false

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"
features = ["serde"]

[dev-dependencies.insta]
version = "1"
features = [
    "yaml",
    "json",
    "redactions",
]

[dev-dependencies.test-case]
version = "3"

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

[dev-dependencies.wiremock]
version = "0.6"

[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"
