-
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.
Names are provisional, please suggest better ones. `rcgen`'s `main.rs` is being used as a provisional `main.rs` in the new crate, but will be replaced and moved to top level examples later. * create top level virtual crate * create `rustls-cert-gen` crate and move `rcgen` to `rcgen` subfolder * Include some workspace configuration to confirm expectations * move `src/main.rs` to `rustls-cert-gen/src/main.rs` * addresses #175
- Loading branch information
Showing
25 changed files
with
1,299 additions
and
86 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,59 +1,10 @@ | ||
[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 = "MIT OR Apache-2.0" | ||
edition = "2021" | ||
readme = "README.md" | ||
keywords = ["mkcert", "ca", "certificate"] | ||
|
||
[lib] | ||
name = "rcgen" | ||
path = "src/lib.rs" | ||
|
||
[[bin]] | ||
name = "rcgen" | ||
path = "src/main.rs" | ||
required-features = ["pem"] | ||
|
||
[[example]] | ||
name = "rsa-irc" | ||
required-features = ["pem"] | ||
|
||
[[example]] | ||
name = "rsa-irc-openssl" | ||
required-features = ["pem"] | ||
[workspace] | ||
members = ["rustls-cert-gen", "rcgen"] | ||
resolver = "2" | ||
|
||
[[example]] | ||
name = "sign-leaf-with-ca" | ||
required-features = ["pem", "x509-parser"] | ||
[workspace.dependencies] | ||
pem = { version = "3.0.2" } | ||
|
||
[dependencies] | ||
yasna = { version = "0.5.2", features = ["time", "std"] } | ||
ring = "0.17" | ||
pem = { version = "3.0.2", 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 | ||
[workspace.package] | ||
license = "MIT OR Apache-2.0" | ||
edition = "2021" |
File renamed without changes.
Oops, something went wrong.