Skip to content

Commit

Permalink
Remove providers from default features
Browse files Browse the repository at this point in the history
  • Loading branch information
ctz committed Dec 23, 2024
1 parent dd0bcbb commit a94c68d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
- --all-features
- --no-default-features
- --no-default-features --features alloc,std,aws_lc_rs
- --no-default-features --features alloc,std,ring

mode:
- # debug
Expand All @@ -128,6 +129,7 @@ jobs:
- features: --no-default-features
- features: --no-default-features --features alloc,std
- features: --no-default-features --features alloc,std,aws_lc_rs
- features: --no-default-features --features alloc,std,ring
- features: --all-features
mode: --release
- features: --all-features
Expand Down Expand Up @@ -204,6 +206,22 @@ jobs:
rust_channel: stable
host_os: ubuntu-latest

# check ring alone
- features: --no-default-features --features alloc,std,ring
mode: # debug
rust_channel: stable
host_os: macos-latest

- features: --no-default-features --features alloc,std,ring
mode: # debug
rust_channel: stable
host_os: windows-latest

- features: --no-default-features --features alloc,std,ring
mode: # debug
rust_channel: stable
host_os: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ allowed_external_types = [
name = "webpki"

[features]
default = ["std", "ring"]
default = ["std"]
alloc = ["ring?/alloc", "pki-types/alloc"]
aws_lc_rs = ["dep:aws-lc-rs"]
ring = ["dep:ring"]
Expand Down

0 comments on commit a94c68d

Please sign in to comment.