dig-tls 0.3.0

Canonical DIG peer mTLS: a shipped public DigNetwork CA, per-peer node certs, rustls mutual-auth configs, peer_id = SHA-256(TLS SPKI DER), and the #1204 BLS-G1 cert binding. Mirrors the chia-blockchain / chia-tls model with the DigNetwork trust domain.
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.81.0"
name = "dig-tls"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical DIG peer mTLS: a shipped public DigNetwork CA, per-peer node certs, rustls mutual-auth configs, peer_id = SHA-256(TLS SPKI DER), and the #1204 BLS-G1 cert binding. Mirrors the chia-blockchain / chia-tls model with the DigNetwork trust domain."
readme = "README.md"
keywords = [
    "tls",
    "mtls",
    "ca",
    "p2p",
    "dig",
]
categories = [
    "cryptography",
    "network-programming",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/DIG-Network/dig-tls"

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

[[example]]
name = "generate_ca"
path = "examples/generate_ca.rs"

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

[dependencies.blst]
version = "0.3"

[dependencies.chia-bls]
version = "0.26"

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

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
    "logging",
]
default-features = false

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

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

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = ["macros"]

[dependencies.tracing]
version = "0.1"

[dependencies.webpki]
version = "0.102"
features = [
    "ring",
    "std",
]
default-features = false
package = "rustls-webpki"

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

[dependencies.zeroize]
version = "1"
features = ["zeroize_derive"]

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
    "time",
]

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

[profile.release]
overflow-checks = true