Integrate hpke-rs in workspace#1505
Merged
Merged
Conversation
the traits used here are rand_core re-exports
the traits / types used here are rand_core re-exports
some of these default feature sets pull a dependency on libstd
hpks-rs-crypto: simplify Cargo.toml
no-std-ify hpke-rs-rust-crypto
this dep enables the "js" Cargo feature but that should not be done in libraries
in preparation for no-std support
hpke-rs-crypto: make serde opt-in
in preparation for no-std support
no-std-ify hpke-rs-crypto
jschneider-bensch
marked this pull request as ready for review
July 8, 2026 12:10
3 tasks
Contributor
|
Thanks! I'll do a full pass on this later. I opened celabshq/hpke-rs#165 to track the move and make sure everything goes smoothly. |
franziskuskiefer
previously requested changes
Jul 8, 2026
franziskuskiefer
left a comment
Contributor
There was a problem hiding this comment.
Thanks, I think this generlaly looks good. Just a few small things.
I didn't look at details of the code and expect it to just being moved.
Let's track the gh pages and coverage (and other follow ups) on an issue to see what to do about them.
Co-authored-by: Franziskus Kiefer <franziskuskiefer@gmail.com>
Co-authored-by: Franziskus Kiefer <franziskuskiefer@gmail.com>
`libcrux-traits` does not define default features.
franziskuskiefer
approved these changes
Jul 9, 2026
franziskuskiefer
left a comment
Contributor
There was a problem hiding this comment.
Thanks, let's get this in and update the hpke-rs issue to redirect everything here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR pulls
hpke-rsinto thelibcruxworkspace undercrates/protocols/hpke. It should preserve the git history ofhpke-rs, while the version tags have been renamed to include anhpke-rs-prefix (e.g.v0.6.0in the original repo is renamed tohpke-rs-v0.0.6here).I also moved CI workflows and updated their default working directories. I'm not sure I fixed up all things in the coverage and GH pages setups already though, so I've disabled those workflows for now.
[skip changelog]