[dependencies.aws-lc-rs]
default-features = false
optional = true
version = "1.6.0"
[dependencies.pem]
optional = true
version = "3.0.2"
[dependencies.pki-types]
package = "rustls-pki-types"
version = "1.4.1"
[dependencies.ring]
optional = true
version = "0.17"
[dependencies.time]
default-features = false
version = "0.3.6"
[dependencies.x509-parser]
features = ["verify"]
optional = true
version = "0.16"
[dependencies.yasna]
features = ["time", "std"]
version = "0.5.2"
[dependencies.zeroize]
optional = true
version = "1.2"
[dev-dependencies.botan]
features = ["vendored"]
version = "0.10"
[dev-dependencies.openssl]
version = "0.10"
[dev-dependencies.pki-types]
package = "rustls-pki-types"
version = "1"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.ring]
version = "0.17"
[dev-dependencies.rsa]
version = "0.9"
[dev-dependencies.rustls-webpki]
features = ["std"]
version = "0.102"
[dev-dependencies.x509-parser]
features = ["verify"]
version = "0.16"
[[example]]
name = "rsa-irc"
path = "examples/rsa-irc.rs"
required-features = ["pem"]
[[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 = "simple"
path = "examples/simple.rs"
required-features = ["crypto", "pem"]
[features]
aws_lc_rs = ["crypto", "dep:aws-lc-rs", "aws-lc-rs/aws-lc-sys"]
crypto = []
default = ["crypto", "pem", "ring"]
fips = ["crypto", "dep:aws-lc-rs", "aws-lc-rs/fips"]
ring = ["crypto", "dep:ring"]
[lib]
name = "rcgen"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Rust X.509 certificate generator"
documentation = "https://docs.rs/rcgen"
edition = "2021"
keywords = ["mkcert", "ca", "certificate"]
license = "MIT OR Apache-2.0"
name = "rcgen"
readme = "README.md"
repository = "https://github.com/rustls/rcgen"
version = "0.13.2"
[package.metadata.cargo_check_external_types]
allowed_external_types = ["time::offset_date_time::OffsetDateTime", "zeroize::Zeroize", "rustls_pki_types::*"]
[package.metadata.docs.rs]
features = ["x509-parser"]
[[test]]
name = "botan"
path = "tests/botan.rs"
[[test]]
name = "generic"
path = "tests/generic.rs"
[[test]]
name = "openssl"
path = "tests/openssl.rs"
[[test]]
name = "util"
path = "tests/util.rs"
[[test]]
name = "webpki"
path = "tests/webpki.rs"