acme-proxy 0.6.1

An ACME (RFC 8555) server that issues from a local CA, relays to an upstream CA, or delegates to a script
Documentation
# 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.97"
name = "acme-proxy"
version = "0.6.1"
build = false
exclude = [
    "/doc/",
    "/rfc/",
    "/dashboards/",
    "/examples-client/",
    "/tests/e2e/",
    "/tests/e2e.rs",
    "/.github/",
    "**/CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An ACME (RFC 8555) server that issues from a local CA, relays to an upstream CA, or delegates to a script"
homepage = "https://acme-proxy.github.io/acme-proxy/"
documentation = "https://acme-proxy.github.io/acme-proxy/"
readme = "README.md"
keywords = [
    "acme",
    "rfc8555",
    "certificate",
    "tls",
    "ca",
]
categories = [
    "cryptography",
    "network-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/acme-proxy/acme-proxy"

[features]
default = []
hsm = ["acme-proxy-signer/hsm"]

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

[[bin]]
name = "acme-proxy"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.acme-proxy-admin]
version = "=0.6.1"

[dependencies.acme-proxy-core]
version = "=0.6.1"

[dependencies.acme-proxy-jobs]
version = "=0.6.1"

[dependencies.acme-proxy-net]
version = "=0.6.1"

[dependencies.acme-proxy-policy]
version = "=0.6.1"

[dependencies.acme-proxy-protocol]
version = "=0.6.1"

[dependencies.acme-proxy-server]
version = "=0.6.1"

[dependencies.acme-proxy-signer]
version = "=0.6.1"

[dependencies.acme-proxy-store]
version = "=0.6.1"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.23.0"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.clap_complete]
version = "~4.5"

[dependencies.clap_mangen]
version = "0.3"

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.9.0"
features = [
    "runtime-tokio",
    "sqlite",
    "postgres",
    "tls-rustls-ring",
    "time",
    "uuid",
]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "time",
    "process",
    "signal",
    "sync",
    "io-util",
]

[dependencies.uuid]
version = "1.23.4"
features = [
    "v7",
    "serde",
]

[dev-dependencies.acme-proxy-core]
version = "=0.6.1"
features = ["test-util"]

[dev-dependencies.acme-proxy-jobs]
version = "=0.6.1"
features = ["test-util"]

[dev-dependencies.acme-proxy-net]
version = "=0.6.1"
features = ["test-util"]

[dev-dependencies.acme-proxy-signer]
version = "=0.6.1"
features = ["test-util"]

[dev-dependencies.acme-proxy-store]
version = "=0.6.1"
features = ["test-util"]

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

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.rcgen]
version = "0.14.8"
features = [
    "ring",
    "pem",
    "x509-parser",
]
default-features = false

[dev-dependencies.ring]
version = "0.17.14"

[dev-dependencies.rustls-pki-types]
version = "1"

[dev-dependencies.simple_asn1]
version = "0.6.4"

[dev-dependencies.testcontainers]
version = "0.28"

[dev-dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
]

[dev-dependencies.tokio-rustls]
version = "0.26"
features = [
    "ring",
    "tls12",
    "logging",
]
default-features = false

[dev-dependencies.tower]
version = "0.5"
features = [
    "limit",
    "util",
]

[dev-dependencies.tracing]
version = "0.1.44"

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "json",
]

[dev-dependencies.x509-parser]
version = "0.18"

[profile.dev.package.ring]
opt-level = 3

[profile.e2e]
lto = false
codegen-units = 16
incremental = true
inherits = "release"

[profile.release]
lto = true
codegen-units = 1
strip = true