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

Move -crypto-trait in with -consts & related cleanups #142

Merged
merged 8 commits into from
Nov 20, 2023

Conversation

chrysn
Copy link
Collaborator

@chrysn chrysn commented Nov 20, 2023

When the crypto trait was introduced in #127, I tried to constrain it to the crypto/ directory. Seeing now that edhoc-consts is more and more becoming a pool of shared definitions, and keeping crates.io publication in mind, I think it's prudent to not have an extra crate, but let the crypto trait just be a module in edhoc-consts.

The refactor is marked as breaking because it removes a crate and makes a name unavailable; all affected crates are fixed by just importing the trait from somewhere else.

As bycatch now that I'm touching it, the second commit adds documentation to the trait.

It's one fewer crate to handle, and edhoc-consts is more an edhoc-common
nowadays anyway.
@chrysn chrysn changed the title Move -crypto-trait in with -consts Move -crypto-trait in with -consts & related cleanups Nov 20, 2023
@chrysn
Copy link
Collaborator Author

chrysn commented Nov 20, 2023

This has turned up into a bit of a cleanup spree, all commits being documented individually. Please let me know if anything warrants better justification, I think they're all just straightforward.

@chrysn chrysn mentioned this pull request Nov 20, 2023
@geonnave
Copy link
Collaborator

Thanks for this PR! Looks good and fstar generation passed.

@geonnave geonnave merged commit 2a78315 into openwsn-berkeley:main Nov 20, 2023
28 checks passed
@chrysn chrysn deleted the one-less-crate branch November 20, 2023 17:28
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