-
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.
incorporating feedback from code review
- separate webpki-roots crate into its own subdirectory - change pki-types dependency from `0.2.2` to `=0.2.2` - set rustls-webpki dependency version to `=0.102.0-alpha.7` - move pki-types to a workplace dependency - add top-level README.md - add Rustdoc comment to `webpki_ccadb::fetch_ccadb_roots`
- Loading branch information
Showing
12 changed files
with
62 additions
and
42 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
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,20 +1,13 @@ | ||
# webpki-roots | ||
This is a crate containing Mozilla's root certificates for use with | ||
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. | ||
|
||
This crate is inspired by [certifi.io](https://certifi.io/en/latest/) and | ||
uses the data provided by the [Common CA Database (CCADB)](https://www.ccadb.org/). | ||
|
||
[![webpki-roots](https://github.com/rustls/webpki-roots/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/rustls/webpki-roots/actions/workflows/build.yml) | ||
[![Crate](https://img.shields.io/crates/v/webpki-roots.svg)](https://crates.io/crates/webpki-roots) | ||
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/). | ||
|
||
# License | ||
The underlying data is MPL-licensed, and `src/lib.rs` | ||
is therefore a derived work. | ||
|
||
# Regenerating sources | ||
Sources are generated in an integration test, in `tests/codegen.rs`. The test | ||
will fail if the sources are out of date relative to upstream, and update | ||
`src/lib.rs` if so. The code is generated in deterministic order so changes | ||
to the source should only result from upstream changes. | ||
is therefore a derived work. |
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
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
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,23 @@ | ||
[package] | ||
name = "webpki-roots" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
readme = { workspace = true } | ||
license = { workspace = true } | ||
homepage = { workspace = true } | ||
repository = { workspace = true } | ||
description = "Mozilla's CA root certificates for use with webpki" | ||
|
||
[dependencies] | ||
pki-types = { workspace = true } | ||
|
||
[dev-dependencies] | ||
hex = { workspace = true } | ||
percent-encoding = "2.3" | ||
rcgen = "0.11.1" | ||
ring = "0.17.0" | ||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] } | ||
webpki = { workspace = true } | ||
webpki-ccadb = { path = "../webpki-ccadb" } | ||
x509-parser = { workspace = true } | ||
yasna = { workspace = true } |
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,20 @@ | ||
# webpki-roots | ||
This is a crate containing Mozilla's root certificates for use with | ||
the [webpki](https://github.com/rustls/webpki) or | ||
[rustls](https://github.com/rustls/rustls) crates. | ||
|
||
This crate is inspired by [certifi.io](https://certifi.io/en/latest/) and | ||
uses the data provided by the [Common CA Database (CCADB)](https://www.ccadb.org/). | ||
|
||
[![webpki-roots](https://github.com/rustls/webpki-roots/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/rustls/webpki-roots/actions/workflows/build.yml) | ||
[![Crate](https://img.shields.io/crates/v/webpki-roots.svg)](https://crates.io/crates/webpki-roots) | ||
|
||
# License | ||
The underlying data is MPL-licensed, and `src/lib.rs` | ||
is therefore a derived work. | ||
|
||
# Regenerating sources | ||
Sources are generated in an integration test, in `tests/codegen.rs`. The test | ||
will fail if the sources are out of date relative to upstream, and update | ||
`src/lib.rs` if so. The code is generated in deterministic order so changes | ||
to the source should only result from upstream changes. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.