-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the webpki-roots repo to be a workspace that includes a crate that pulls the CCADB stuff and exposes an API.
- Loading branch information
Showing
10 changed files
with
680 additions
and
285 deletions.
There are no files selected for viewing
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,10 +1,14 @@ | ||
[workspace] | ||
members = [ "webpki-roots" ] | ||
members = [ "webpki-ccadb", "webpki-roots" ] | ||
|
||
[workspace.package] | ||
version = "0.26.0" | ||
edition = "2018" | ||
readme = "README.md" | ||
license = "MPL-2.0" | ||
homepage = "https://github.com/rustls/webpki-roots" | ||
repository = "https://github.com/rustls/webpki-roots" | ||
|
||
[workspace.dependencies] | ||
hex = "0.4.3" | ||
pki-types = { package = "rustls-pki-types", version = "1", default-features = false } | ||
webpki = { package = "rustls-webpki", version = "0.102", features = ["alloc"] } | ||
x509-parser = "0.15.1" | ||
yasna = "0.5.2" |
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,9 +1,10 @@ | ||
This workspace contains the crate webpki-roots. | ||
This workspace contains the crates webpki-roots and webpki-ccadb. | ||
|
||
The webpki-roots crate contains Mozilla's root certificates for use with | ||
the [webpki](https://github.com/rustls/webpki) or | ||
[rustls](https://github.com/rustls/rustls) crates. | ||
|
||
# License | ||
The underlying data is MPL-licensed, and `src/lib.rs` | ||
is therefore a derived work. | ||
The webpki-ccadb crate populates the root certificates for the webpki-roots crate | ||
using the data provided by the [Common CA Database (CCADB)](https://www.ccadb.org/). | ||
Inspired by [certifi.io](https://certifi.io/en/latest/). | ||
|
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[package] | ||
name = "webpki-ccadb" | ||
version = "0.1.0" | ||
edition = { workspace = true } | ||
readme = "README.md" | ||
license = "MPL-2.0" | ||
homepage = { workspace = true } | ||
repository = { workspace = true } | ||
description = "Common CA Database (CCADB) interface for use with webpki-roots" | ||
|
||
[dependencies] | ||
chrono = { version = "0.4.26", default-features = false, features = ["clock"] } | ||
csv = "1.2.2" | ||
hex = { workspace = true } | ||
num-bigint = "0.4.3" | ||
pki-types = { workspace = true } | ||
reqwest = { version = "0.11", features = ["rustls-tls-manual-roots"] } | ||
rustls-pemfile = "2.0.0" | ||
serde = { version = "1.0.183", features = ["derive"] } | ||
webpki = { workspace = true } | ||
x509-parser = { workspace = true } | ||
yasna = { workspace = true } |
Oops, something went wrong.