Skip to content
Open
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
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ jobs:
- name: Run tests
run: cargo test

pqc:
name: Run PQC tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run tests
run: cargo test --features backend-dilithium2,backend-dilithium3,backend-dilithium5

clippy:
name: Run clippy
runs-on: ubuntu-latest
Expand All @@ -41,7 +54,7 @@ jobs:
override: true
components: "clippy"
- name: Run clippy
run: cargo clippy -- -D warnings
run: cargo clippy --all-features --all-targets -- -D warnings

fmt:
name: Run rustfmt
Expand Down
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ edition = "2021"

[dependencies]
heapless-bytes = "0.3.0"
pqcrypto-mldsa = { version = "0.1.0", optional = true}
serde_repr = "0.1"
paste = "1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Paste is unmaintained. Please remove it.

with_builtin_macros = "0.1.0"

[dependencies.serde]
version = "1.0"
Expand All @@ -26,3 +29,9 @@ hex = "0.4.3"
itertools = "0.12.0"
quickcheck = "1.0.3"
serde = "1"

[features]
mldsa = ["dep:pqcrypto-mldsa"]
mldsa44 = ["mldsa"]
mldsa65 = ["mldsa"]
mldsa87 = ["mldsa"]
Loading