# 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 = "ic-custom-domains-base"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internet Computer Custom Domains feature crates"
homepage = "https://internetcomputer.org/"
documentation = "https://docs.rs/ic-custom-domains-base"
readme = false
license = "Apache-2.0"
repository = "https://github.com/dfinity/custom-domains"
resolver = "2"

[features]
openapi = ["utoipa"]

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

[dependencies.anyhow]
version = "1.0.98"

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

[dependencies.axum]
version = "0.8.4"

[dependencies.candid]
version = "0.10.16"

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5.20"
features = [
    "derive",
    "string",
    "env",
]

[dependencies.derive-new]
version = "0.7.0"

[dependencies.fqdn]
version = "0.5.2"

[dependencies.hickory-resolver]
version = "0.25"

[dependencies.humantime]
version = "2.2.0"

[dependencies.ic-bn-lib]
version = "0.1"
features = [
    "acme-dns",
    "cert-providers",
    "custom-domains",
]

[dependencies.ic-bn-lib-common]
version = "0.1"

[dependencies.ic-custom-domains-canister-api]
version = "0.1.4"

[dependencies.mockall]
version = "0.13.1"

[dependencies.pem]
version = "3.0.5"

[dependencies.prometheus]
version = "0.14.0"

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

[dependencies.strum]
version = "0.27.1"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.45.1"

[dependencies.tokio-util]
version = "0.7.15"

[dependencies.tracing]
version = "0.1.41"
features = ["attributes"]

[dependencies.utoipa]
version = "5.4.0"
features = ["axum_extras"]
optional = true

[dependencies.x509-parser]
version = "0.17.0"

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