# 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"
name = "lmrc-cloudflare"
version = "0.2.11"
authors = ["Lemarc <lemarc.dev@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cloudflare API client library for the LMRC Stack - comprehensive DNS, zones, and cache management with automatic retry logic"
homepage = "https://gitlab.com/lemarco/lmrc-stack/tree/main/libs/cloudflare-client"
documentation = "https://docs.rs/lmrc-cloudflare"
readme = "README.md"
keywords = [
    "cloudflare",
    "dns",
    "api",
    "client",
    "ci-cd",
]
categories = [
    "api-bindings",
    "web-programming",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/lemarco/lmrc-stack"
resolver = "2"

[features]
default = []

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "cache_purge"
path = "examples/cache_purge.rs"

[[example]]
name = "sync_dns"
path = "examples/sync_dns.rs"

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

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

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

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

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

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

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "time",
]

[dev-dependencies.mockito]
version = "1.6"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

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