Skip to content

dhkem: add no_std + refactor tests#42

Merged
tarcieri merged 1 commit intomasterfrom
dhkem/no_std+refactor-tests
Aug 8, 2024
Merged

dhkem: add no_std + refactor tests#42
tarcieri merged 1 commit intomasterfrom
dhkem/no_std+refactor-tests

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Aug 7, 2024

Adds no_std support to dhkem, which involved moving std-dependent tests from lib/ to the tests/ directory, which links them in a separate crate that can access std.

Also adds default-features = false to each of the elliptic curve crate dependencies.

Finally, adds a CI check that the crate can link on a no_std target.

Adds `no_std` support to `dhkem`, which involved moving `std`-dependent
tests from `lib/` to the `tests/` directory, which links them in a
separate crate that can access `std`.

Also adds `default-features = false` to each of the elliptic curve
crate dependencies.

Finally, adds a CI check that the crate can link on a `no_std` target.
@tarcieri tarcieri force-pushed the dhkem/no_std+refactor-tests branch from 6307c68 to ccecffa Compare August 7, 2024 22:58
@tarcieri tarcieri merged commit 1606986 into master Aug 8, 2024
@tarcieri tarcieri deleted the dhkem/no_std+refactor-tests branch August 8, 2024 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant