# 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 = "externaldns-webhook"
version = "2025.3.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interface (trait) for ExternalDns webhook."
homepage = "https://github.com/Magicloud/externaldns-webhook"
readme = "README.md"
license = "BSD-2-Clause"
repository = "https://github.com/Magicloud/externaldns-webhook"

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

[[example]]
name = "dumb"
path = "examples/dumb/main.rs"

[[example]]
name = "e_d"
path = "examples/e_d/main.rs"

[dependencies.actix-web]
version = "4"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.dashmap]
version = "6.1"
features = ["serde"]

[dependencies.either]
version = "1.15"

[dependencies.log]
version = "0.4"

[dependencies.logcall]
version = "0.1"

[dependencies.metrics]
version = "0.24"

[dependencies.prometheus]
version = "0.13"

[dependencies.regex]
version = "1.11"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_with]
version = "3.12"

[dependencies.tokio]
version = "1.44"
features = ["rt"]

[dev-dependencies.clap]
version = "4.5"
features = ["derive"]

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.itertools]
version = "0.14"

[dev-dependencies.metrics-prometheus]
version = "0.9"

[dev-dependencies.nonempty]
version = "0.11"

[dev-dependencies.sha2]
version = "0.10"

[dev-dependencies.surrealdb]
version = "2.2"
features = ["kv-surrealkv"]

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true
