rcgen 0.14.8

Rust X.509 certificate generator
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 = "rcgen"
version = "0.14.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust X.509 certificate generator"
documentation = "https://docs.rs/rcgen"
readme = "README.md"
keywords = [
    "mkcert",
    "ca",
    "certificate",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rustls/rcgen"

[package.metadata.docs.rs]
features = [
    "aws_lc_rs",
    "aws_lc_rs_unstable",
    "crypto",
    "ring",
    "x509-parser",
]
rustdoc-args = [
    "--cfg",
    "rcgen_docsrs",
]

[package.metadata.cargo_check_external_types]
allowed_external_types = [
    "time::offset_date_time::OffsetDateTime",
    "zeroize::Zeroize",
    "rustls_pki_types::*",
]

[features]
aws_lc_rs = [
    "crypto",
    "dep:aws-lc-rs",
    "aws-lc-rs/aws-lc-sys",
    "x509-parser?/verify-aws",
]
aws_lc_rs_unstable = [
    "aws_lc_rs",
    "aws-lc-rs/unstable",
    "x509-parser?/verify-aws",
]
crypto = []
default = [
    "crypto",
    "pem",
    "ring",
]
fips = [
    "crypto",
    "dep:aws-lc-rs",
    "aws-lc-rs/fips",
]
ring = [
    "crypto",
    "dep:ring",
    "x509-parser?/verify",
]

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

[[example]]
name = "rsa-irc-openssl"
path = "examples/rsa-irc-openssl.rs"
required-features = ["pem"]

[[example]]
name = "sign-leaf-with-ca"
path = "examples/sign-leaf-with-ca.rs"
required-features = [
    "pem",
    "x509-parser",
]

[[example]]
name = "sign-leaf-with-pem-files"
path = "examples/sign-leaf-with-pem-files.rs"
required-features = [
    "pem",
    "x509-parser",
]

[[example]]
name = "simple"
path = "examples/simple.rs"
required-features = [
    "crypto",
    "pem",
]

[dependencies.aws-lc-rs]
version = "1.13.3"
optional = true
default-features = false

[dependencies.pem]
version = "3.0.2"
optional = true

[dependencies.pki-types]
version = "1.4.1"
package = "rustls-pki-types"

[dependencies.ring]
version = "0.17"
optional = true

[dependencies.time]
version = "0.3.6"
default-features = false

[dependencies.x509-parser]
version = "0.18"
optional = true

[dependencies.yasna]
version = "0.6"
features = [
    "time",
    "std",
]

[dependencies.zeroize]
version = "1.2"
optional = true

[target."cfg(unix)".dev-dependencies.openssl]
version = "0.10"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rcgen_docsrs)"]