alktls 0.1.0

Shared TLS setup types: server and client rustls configs, cert resolvers, verifiers, and ACME state-machine wiring, transport-agnostic and shareable across transports.
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 = "2021"
rust-version = "1.88"
name = "alktls"
version = "0.1.0"
build = false
exclude = [
    ".opencode/",
    "AGENTS.md",
    "tasks/",
    "docs/reviews/",
    "docs/research/",
    "docs/plans/",
    "docs/architecture/",
    "docs/sdd_process.md",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared TLS setup types: server and client rustls configs, cert resolvers, verifiers, and ACME state-machine wiring, transport-agnostic and shareable across transports."
readme = "README.md"
keywords = [
    "tls",
    "rustls",
    "acme",
    "noq",
    "network",
]
categories = [
    "network-programming",
    "cryptography",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://git.alk.dev/alkdev/alktls"

[features]
acme = [
    "dep:rustls-acme",
    "dep:futures",
]
default = []
noq = [
    "dep:noq",
    "dep:noq-proto",
]
tcp = ["dep:tokio-rustls"]

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

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.noq]
version = "1.2"
features = [
    "rustls",
    "aws-lc-rs",
]
optional = true
default-features = false

[dependencies.noq-proto]
version = "1.2"
optional = true
default-features = false

[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]

[dependencies.rcgen]
version = "0.13"

[dependencies.rustls]
version = "0.23"
features = ["aws_lc_rs"]

[dependencies.rustls-acme]
version = "0.12"
features = ["aws-lc-rs"]
optional = true

[dependencies.rustls-native-certs]
version = "0.8"

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "macros",
]
default-features = false

[dependencies.tokio-rustls]
version = "0.26"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.webpki-roots]
version = "0.26"

[dev-dependencies.base64]
version = "0.22"

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

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
    "macros",
]