Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable std in crate HPKE and release 0.3.0 #11

Merged
merged 2 commits into from
May 31, 2022
Merged

Conversation

tgeoghegan
Copy link
Contributor

See individual commit messages for details.

`hpke::HpkeError` only implements `std::error::Error` if feature `std`
is on ([1]). We need that trait implementation so that projects like
Janus can use the re-exported `HpkeError` with `thiserror`'s `#[from]`
derivation.

[1]: https://docs.rs/hpke/latest/src/hpke/lib.rs.html#201
@jbr pointed out that taking `hpke` 0.9.0 was a breaking change since
this crate re-exports several of its items, so we bump the major
version as we ought to have for 0.2.1.
@tgeoghegan tgeoghegan requested review from a team and jbr as code owners May 31, 2022 23:46
@tgeoghegan tgeoghegan merged commit bf1d88f into main May 31, 2022
@jbr jbr deleted the timg/hpke-feature-std branch June 1, 2022 00:05
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.

2 participants