# 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"
name = "certkit"
version = "0.1.1"
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 management, creation, and validation, 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"

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

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

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

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bon]
version = "3"

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

[dependencies.der]
version = "0.7"

[dependencies.ecdsa]
version = "0.16"
features = ["verifying"]

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

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

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

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

[dependencies.pem]
version = "3"

[dependencies.pkcs8]
version = "0.10.2"

[dependencies.rand]
version = "0.9.1"

[dependencies.rand_core]
version = "0.6"

[dependencies.regex]
version = "1.7"

[dependencies.rsa]
version = "0.9"

[dependencies.sha1]
version = "0.10"

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

[dependencies.thiserror]
version = "1.0"

[dependencies.time]
version = "0.3"

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

[dev-dependencies.botan]
version = "0.11"
features = ["vendored"]

[dev-dependencies.openssl]
version = "0.10"
