[package]
edition = "2024"
rust-version = "1.97"
name = "acme-proxy"
version = "0.2.0"
build = false
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"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
hsm = ["dep:cryptoki"]
[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 = "e2e"
path = "tests/e2e.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 = "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 = "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 = "security"
path = "tests/security.rs"
[[test]]
name = "update_account"
path = "tests/update_account.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.base64]
version = "0.23.0"
[dependencies.bytes]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.config]
version = "0.15"
features = ["toml"]
default-features = false
[dependencies.cryptoki]
version = "0.12"
optional = true
[dependencies.hex]
version = "0.4"
[dependencies.hickory-proto]
version = "0.26"
features = [
"std",
"dnssec-ring",
]
default-features = false
[dependencies.hickory-resolver]
version = "0.26"
features = [
"system-config",
"tokio",
]
default-features = false
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1.11"
features = [
"client",
"http1",
]
[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
[dependencies.ipnet]
version = "2.12"
[dependencies.lettre]
version = "0.11"
features = [
"tokio1-rustls-tls",
"smtp-transport",
"builder",
]
default-features = false
[dependencies.minijinja]
version = "2"
features = ["json"]
[dependencies.percent-encoding]
version = "2"
[dependencies.rcgen]
version = "0.14.8"
features = [
"ring",
"pem",
"x509-parser",
]
default-features = false
[dependencies.regex]
version = "1.13"
[dependencies.ring]
version = "0.17.14"
[dependencies.rustls]
version = "0.23"
features = [
"ring",
"std",
"tls12",
"logging",
]
default-features = false
[dependencies.rustls-pki-types]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.simple_asn1]
version = "0.6.4"
[dependencies.sqlx]
version = "0.9.0"
features = [
"runtime-tokio",
"sqlite",
"time",
]
[dependencies.subtle]
version = "2"
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
]
[dependencies.tokio]
version = "1.0"
features = [
"rt-multi-thread",
"macros",
"net",
"time",
"process",
"signal",
"sync",
"io-util",
]
[dependencies.tokio-rustls]
version = "0.26"
features = [
"ring",
"tls12",
"logging",
]
default-features = false
[dependencies.tower]
version = "0.5"
features = ["limit"]
[dependencies.tower-http]
version = "0.7"
features = ["set-header"]
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
"env-filter",
"json",
]
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1.23.4"
features = ["v4"]
[dependencies.webpki-roots]
version = "1"
[dependencies.x509-parser]
version = "0.18"
[dev-dependencies.testcontainers]
version = "0.27.3"
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[profile.e2e]
lto = false
codegen-units = 16
incremental = true
inherits = "release"
[profile.release]
lto = true
codegen-units = 1
strip = true