-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
everything else will be members of this.
- Loading branch information
Showing
25 changed files
with
1,287 additions
and
97 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,10 @@ | ||
[workspace] | ||
members = ["myca"] | ||
default-members = ["myca"] | ||
members = ["rustls-cert-gen", "rcgen"] | ||
resolver = "2" | ||
|
||
[workspace.dependencies] | ||
pem = { version = "3.0.2" } | ||
|
||
[workspace.package] | ||
license = "MIT OR Apache-2.0" | ||
edition = "2021" | ||
|
||
[package] | ||
name = "rcgen" | ||
version = "0.11.3" | ||
description = "Rust X.509 certificate generator" | ||
repository = "https://github.com/est31/rcgen" | ||
documentation = "https://docs.rs/rcgen" | ||
license.workspace = true | ||
edition.workspace = true | ||
readme = "README.md" | ||
keywords = ["mkcert", "ca", "certificate"] | ||
|
||
[lib] | ||
name = "rcgen" | ||
path = "src/lib.rs" | ||
|
||
[[example]] | ||
name = "rsa-irc" | ||
required-features = ["pem"] | ||
|
||
[[example]] | ||
name = "rsa-irc-openssl" | ||
required-features = ["pem"] | ||
|
||
[[example]] | ||
name = "sign-leaf-with-ca" | ||
required-features = ["pem", "x509-parser"] | ||
|
||
[dependencies] | ||
yasna = { version = "0.5.2", features = ["time", "std"] } | ||
ring = "0.17" | ||
pem = { workspace = true, optional = true } | ||
time = { version = "0.3.6", default-features = false } | ||
x509-parser = { version = "0.15", features = ["verify"], optional = true } | ||
zeroize = { version = "1.2", optional = true } | ||
|
||
[features] | ||
default = ["pem"] | ||
|
||
[package.metadata.docs.rs] | ||
features = ["x509-parser"] | ||
|
||
[dev-dependencies] | ||
openssl = "0.10" | ||
x509-parser = { version = "0.15", features = ["verify"] } | ||
rustls-webpki = { version = "0.101.0", features = ["std"] } | ||
botan = { version = "0.10", features = ["vendored"] } | ||
rand = "0.8" | ||
rsa = "0.9" | ||
|
||
# This greatly speeds up rsa key generation times | ||
# (only applies to the dev-dependency because cargo | ||
# ignores profile overrides for non leaf packages) | ||
[profile.dev.package.num-bigint-dig] | ||
opt-level = 3 |
File renamed without changes.
Oops, something went wrong.