Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/base16ct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release
- run: cargo build --target ${{ matrix.target }} --release --features alloc
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -52,9 +52,8 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
- run: cargo test --release --features alloc
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset

bench:
runs-on: ubuntu-latest
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/base64ct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release
- run: cargo build --target ${{ matrix.target }} --release --features alloc
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -52,9 +52,8 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
- run: cargo test --release --features alloc
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset

bench:
runs-on: ubuntu-latest
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/const-oid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -51,5 +52,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
18 changes: 6 additions & 12 deletions .github/workflows/der.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release
- run: cargo build --target ${{ matrix.target }} --release --features alloc
- run: cargo build --target ${{ matrix.target }} --release --features derive
- run: cargo build --target ${{ matrix.target }} --release --features oid
- run: cargo build --target ${{ matrix.target }} --release --features pem
- run: cargo build --target ${{ matrix.target }} --release --features time
- run: cargo build --target ${{ matrix.target }} --release --features alloc,derive,oid,pem,time
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
strategy:
Expand Down Expand Up @@ -83,10 +78,8 @@ jobs:
profile: minimal
override: true
- run: ${{ matrix.deps }}
- run: cargo test --target ${{ matrix.target }} --release
- run: cargo test --target ${{ matrix.target }} --release --features oid
- run: cargo test --target ${{ matrix.target }} --release --features pem
- run: cargo test --target ${{ matrix.target }} --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset

derive:
runs-on: ubuntu-latest
Expand All @@ -102,5 +95,6 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test --release
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
working-directory: der/derive
9 changes: 4 additions & 5 deletions .github/workflows/pem-rfc7468.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release
- run: cargo build --target ${{ matrix.target }} --release --features alloc
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -53,6 +53,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
13 changes: 4 additions & 9 deletions .github/workflows/pkcs1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pem
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pkcs8
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features zeroize
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,pem,pkcs8,zeroize
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -60,6 +56,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
20 changes: 4 additions & 16 deletions .github/workflows/pkcs5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release
- run: cargo build --target ${{ matrix.target }} --release --features alloc
- run: cargo build --target ${{ matrix.target }} --release --features pbes2
- run: cargo build --target ${{ matrix.target }} --release --features scrypt
- run: cargo build --target ${{ matrix.target }} --release --features alloc,pbes2
- run: cargo build --target ${{ matrix.target }} --release --features sha1
- run: cargo build --target ${{ matrix.target }} --release --features 3des
- run: cargo build --target ${{ matrix.target }} --release --features des-insecure
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -61,11 +55,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
- run: cargo test --release --features alloc
- run: cargo test --release --features pbes2
- run: cargo test --release --features scrypt
- run: cargo test --release --features sha1
- run: cargo test --release --features 3des
- run: cargo test --release --features des-insecure
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
8 changes: 4 additions & 4 deletions .github/workflows/pkcs7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --release --target ${{ matrix.target }} --no-default-features
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset

test:
runs-on: ubuntu-latest
Expand All @@ -53,6 +54,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
25 changes: 4 additions & 21 deletions .github/workflows/pkcs8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --release --target ${{ matrix.target }} --no-default-features
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features alloc
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features 3des
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features des-insecure
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features encryption
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features pem
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features pkcs5
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features sha1
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features subtle
- run: cargo build --release --target ${{ matrix.target }} --no-default-features --features zeroize
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std,rand

test:
runs-on: ubuntu-latest
Expand All @@ -65,14 +57,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --release --features alloc
- run: cargo test --release --features 3des
- run: cargo test --release --features des-insecure
- run: cargo test --release --features encryption
- run: cargo test --release --features pem
- run: cargo test --release --features pkcs5
- run: cargo test --release --features sha1
- run: cargo test --release --features std
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
15 changes: 4 additions & 11 deletions .github/workflows/sec1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pem
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features pkcs8
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features serde
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features subtle
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features zeroize
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,pem,pkcs8,serde,subtle,zeroize
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -62,6 +56,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
11 changes: 4 additions & 7 deletions .github/workflows/spki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --release --target ${{ matrix.target }}
- run: cargo build --release --target ${{ matrix.target }} --features alloc
- run: cargo build --release --target ${{ matrix.target }} --features fingerprint
- run: cargo build --release --target ${{ matrix.target }} --features pem
- run: cargo build --release --target ${{ matrix.target }} --features alloc,fingerprint,pem
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -58,5 +55,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
11 changes: 4 additions & 7 deletions .github/workflows/ssh-key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features sec1
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features alloc,sec1
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -56,6 +54,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
10 changes: 4 additions & 6 deletions .github/workflows/tai64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features serde
- run: cargo build --target ${{ matrix.target }} --release --no-default-features --features zeroize
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std,default

test:
runs-on: ubuntu-latest
Expand All @@ -53,6 +52,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release --no-default-features
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
30 changes: 4 additions & 26 deletions .github/workflows/tls_codec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,6 @@ jobs:
- stable
target:
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --release
- run: cargo build --target ${{ matrix.target }} --release --features derive
- run: cargo build --target ${{ matrix.target }} --release --features serde_serialize
- run: cargo build --target ${{ matrix.target }} --release --all-features

no_std:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.56.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
steps:
- uses: actions/checkout@v1
Expand All @@ -57,7 +36,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --target ${{ matrix.target }} --no-default-features --release
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std,default,derive,serde_serialize

test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -86,7 +66,5 @@ jobs:
profile: minimal
override: true
- run: ${{ matrix.deps }}
- run: cargo test --target ${{ matrix.target }} --release
- run: cargo test --target ${{ matrix.target }} --release --features derive
- run: cargo test --target ${{ matrix.target }} --release --features serde_serialize
- run: cargo test --target ${{ matrix.target }} --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
7 changes: 4 additions & 3 deletions .github/workflows/x509.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- run: cargo build --release --target ${{ matrix.target }}
- run: cargo install cargo-hack
- run: cargo hack build --release --target ${{ matrix.target }} --feature-powerset --exclude-features std

test:
runs-on: ubuntu-latest
Expand All @@ -54,5 +55,5 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
- run: cargo test --release --all-features
- run: cargo install cargo-hack
- run: cargo hack test --release --feature-powerset
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Trigger a full workspace run
[workspace]
resolver = "2"
members = [
Expand Down
Loading