Skip to content

Commit 63aedbb

Browse files
mspiegeldjc
authored andcommitted
create workspace with webpki-roots crate
1 parent 46b65aa commit 63aedbb

File tree

12 files changed

+58
-35
lines changed

12 files changed

+58
-35
lines changed

Cargo.toml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,2 @@
1-
[package]
2-
name = "webpki-roots"
3-
version = "0.26.0"
4-
edition = "2018"
5-
readme = "README.md"
6-
license = "MPL-2.0"
7-
description = "Mozilla's CA root certificates for use with webpki"
8-
homepage = "https://github.com/rustls/webpki-roots"
9-
repository = "https://github.com/rustls/webpki-roots"
10-
11-
[dependencies]
12-
pki-types = { package = "rustls-pki-types", version = "1", default-features = false }
13-
14-
[dev-dependencies]
15-
chrono = { version = "0.4.26", default-features = false, features = ["clock"] }
16-
csv = "1.2.2"
17-
hex = "0.4.3"
18-
num-bigint = "0.4.3"
19-
percent-encoding = "2.3"
20-
rcgen = "0.11.1"
21-
reqwest = { version = "0.11", features = ["rustls-tls-manual-roots"] }
22-
ring = "0.17.0"
23-
rustls-pemfile = "2.0.0"
24-
rustls = "0.22"
25-
serde = { version = "1.0.183", features = ["derive"] }
26-
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
27-
webpki = { package = "rustls-webpki", version = "0.102", features = ["alloc"] }
28-
x509-parser = "0.15.1"
29-
yasna = "0.5.2"
1+
[workspace]
2+
members = ["webpki-roots"]

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
# webpki-roots
2-
This is a crate containing Mozilla's root certificates for use with
1+
This workspace contains the crate webpki-roots.
2+
3+
The webpki-roots crate contains Mozilla's root certificates for use with
34
the [webpki](https://github.com/rustls/webpki) or
45
[rustls](https://github.com/rustls/rustls) crates.
56

6-
This crate is inspired by [certifi.io](https://certifi.io/en/latest/) and
7+
The webpki-roots crate is inspired by [certifi.io](https://certifi.io/en/latest/) and
78
uses the data provided by the [Common CA Database (CCADB)](https://www.ccadb.org/).
89

910
[![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)
1011
[![Crate](https://img.shields.io/crates/v/webpki-roots.svg)](https://crates.io/crates/webpki-roots)
1112

1213
# License
13-
The underlying data is MPL-licensed, and `src/lib.rs`
14+
The underlying data is MPL-licensed, and `webpki-roots/src/lib.rs`
1415
is therefore a derived work.
1516

1617
# Regenerating sources
17-
Sources are generated in an integration test, in `tests/codegen.rs`. The test
18+
Sources are generated in an integration test, in `webpki-roots/tests/codegen.rs`. The test
1819
will fail if the sources are out of date relative to upstream, and update
19-
`src/lib.rs` if so. The code is generated in deterministic order so changes
20+
`webpki-roots/src/lib.rs` if so. The code is generated in deterministic order so changes
2021
to the source should only result from upstream changes.

webpki-roots/Cargo.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[package]
2+
name = "webpki-roots"
3+
version = "0.26.0"
4+
edition = "2018"
5+
readme = "README.md"
6+
license = "MPL-2.0"
7+
homepage = "https://github.com/rustls/webpki-roots"
8+
repository = "https://github.com/rustls/webpki-roots"
9+
description = "Mozilla's CA root certificates for use with webpki"
10+
11+
[dependencies]
12+
pki-types = { package = "rustls-pki-types", version = "1", default-features = false }
13+
14+
[dev-dependencies]
15+
chrono = { version = "0.4.26", default-features = false, features = ["clock"] }
16+
csv = "1.2.2"
17+
hex = "0.4.3"
18+
num-bigint = "0.4.3"
19+
percent-encoding = "2.3"
20+
rcgen = "0.11.1"
21+
reqwest = { version = "0.11", features = ["rustls-tls-manual-roots"] }
22+
ring = "0.17.0"
23+
rustls-pemfile = "2.0.0"
24+
rustls = "0.22"
25+
serde = { version = "1.0.183", features = ["derive"] }
26+
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
27+
webpki = { package = "rustls-webpki", version = "0.102", features = ["alloc"] }
28+
x509-parser = "0.15.1"
29+
yasna = "0.5.2"
File renamed without changes.

webpki-roots/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# webpki-roots
2+
This is a crate containing Mozilla's root certificates for use with
3+
the [webpki](https://github.com/rustls/webpki) or
4+
[rustls](https://github.com/rustls/rustls) crates.
5+
6+
This crate is inspired by [certifi.io](https://certifi.io/en/latest/) and
7+
uses the data provided by the [Common CA Database (CCADB)](https://www.ccadb.org/).
8+
9+
[![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)
10+
[![Crate](https://img.shields.io/crates/v/webpki-roots.svg)](https://crates.io/crates/webpki-roots)
11+
12+
# License
13+
The underlying data is MPL-licensed, and `src/lib.rs`
14+
is therefore a derived work.
15+
16+
# Regenerating sources
17+
Sources are generated in an integration test, in `tests/codegen.rs`. The test
18+
will fail if the sources are out of date relative to upstream, and update
19+
`src/lib.rs` if so. The code is generated in deterministic order so changes
20+
to the source should only result from upstream changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)