From a9f65706f93357253618d1a5172b5fcb2e8932d4 Mon Sep 17 00:00:00 2001 From: Mubelotix Date: Thu, 25 Apr 2024 19:40:18 +0200 Subject: [PATCH 1/3] Add web feature --- webpki-ccadb/Cargo.toml | 4 ++++ webpki-roots/Cargo.toml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/webpki-ccadb/Cargo.toml b/webpki-ccadb/Cargo.toml index 90acad1..87d0795 100644 --- a/webpki-ccadb/Cargo.toml +++ b/webpki-ccadb/Cargo.toml @@ -20,3 +20,7 @@ serde = { version = "1.0.183", features = ["derive"] } webpki = { workspace = true } x509-parser = { workspace = true } yasna = { workspace = true } + +[features] +default = [] +web = ["pki-types/web"] diff --git a/webpki-roots/Cargo.toml b/webpki-roots/Cargo.toml index 5348360..d9ea636 100644 --- a/webpki-roots/Cargo.toml +++ b/webpki-roots/Cargo.toml @@ -22,3 +22,7 @@ webpki = { workspace = true } webpki-ccadb = { path = "../webpki-ccadb" } x509-parser = { workspace = true } yasna = { workspace = true } + +[features] +default = [] +web = ["pki-types/web"] From 35a99862ddecff41d7e061265fe13ef38538aef4 Mon Sep 17 00:00:00 2001 From: Mubelotix Date: Fri, 26 Apr 2024 09:32:27 +0200 Subject: [PATCH 2/3] Simplify Cargo.toml --- webpki-ccadb/Cargo.toml | 4 ---- webpki-roots/Cargo.toml | 1 - 2 files changed, 5 deletions(-) diff --git a/webpki-ccadb/Cargo.toml b/webpki-ccadb/Cargo.toml index 87d0795..90acad1 100644 --- a/webpki-ccadb/Cargo.toml +++ b/webpki-ccadb/Cargo.toml @@ -20,7 +20,3 @@ serde = { version = "1.0.183", features = ["derive"] } webpki = { workspace = true } x509-parser = { workspace = true } yasna = { workspace = true } - -[features] -default = [] -web = ["pki-types/web"] diff --git a/webpki-roots/Cargo.toml b/webpki-roots/Cargo.toml index d9ea636..029aba0 100644 --- a/webpki-roots/Cargo.toml +++ b/webpki-roots/Cargo.toml @@ -24,5 +24,4 @@ x509-parser = { workspace = true } yasna = { workspace = true } [features] -default = [] web = ["pki-types/web"] From bc60a719567dfa616ba4f5e87df09e43fb834b37 Mon Sep 17 00:00:00 2001 From: Mubelotix Date: Fri, 26 Apr 2024 09:36:38 +0200 Subject: [PATCH 3/3] Update CI --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ecd7e6d..91db6a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,9 @@ jobs: - name: cargo build (debug; default features) run: cargo build --all-targets + - name: cargo build (debug; all features) + run: cargo build --all-targets --all-features + - name: cargo clippy run: cargo clippy --all-targets -- -D warnings