certkit 0.2.0

A pure Rust library for X.509 certificate creation, parsing, and management, supporting RSA, ECDSA, and Ed25519 keys, with no OpenSSL or ring dependencies.
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.85"
name = "certkit"
version = "0.2.0"
authors = ["Nick Cardin <nick@cardin.email>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure Rust library for X.509 certificate creation, parsing, and management, supporting RSA, ECDSA, and Ed25519 keys, with no OpenSSL or ring dependencies."
homepage = "https://github.com/nacardin/certkit"
documentation = "https://docs.rs/certkit"
readme = "README.md"
keywords = [
    "x509",
    "certificate",
    "crypto",
    "pki",
    "tls",
]
categories = [
    "cryptography",
    "authentication",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nacardin/certkit.git"

[features]
default = [
    "rsa",
    "p256",
    "p384",
    "p521",
    "ed25519",
]
ed25519 = ["dep:ed25519-dalek"]

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

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

[dependencies.bon]
version = "3"

[dependencies.const-oid]
version = "0.9.6"
features = ["db"]

[dependencies.der]
version = "0.7"

[dependencies.ed25519-dalek]
version = "2"
features = [
    "rand_core",
    "pkcs8",
    "pem",
]
optional = true

[dependencies.log]
version = "0.4"

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
]
optional = true

[dependencies.p384]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
]
optional = true

[dependencies.p521]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
]
optional = true

[dependencies.pem]
version = "3"

[dependencies.pkcs8]
version = "0.10"
features = [
    "alloc",
    "pem",
]

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

[dependencies.rsa]
version = "0.9"
optional = true

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"
features = ["oid"]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"

[dependencies.x509-cert]
version = "0.2"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.rustls]
version = "0.23"