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

keccak: 2021 edition upgrade; MSRV 1.60 #70

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

tarcieri
Copy link
Member

keccak was previously excluded from the toplevel workspace due to its MSRV of 1.41 and incompatibilities with packages used by ascon.

This bumps the edition, changes the version to 0.2.0-pre to denote it contains breaking changes (though this is not intended to be a 0.2.0-pre release), and bumps MSRV 1.59 so that the crate has a single consistent MSRV regardless of whether or not the asm feature is enabled.

With the MSRV bumped, keccak can and has been re-added to the toplevel workspace.

msrv: 1.41.0
msrv: 1.59.0
Copy link
Member Author

Choose a reason for hiding this comment

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

I would probably recommend changing MSRV to 1.60 just to leave the door open for ascon to use weak/namespaced features in the future, though there isn't a specific requirement for that in the keccak crate itself

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good.

@tarcieri
Copy link
Member Author

Since we're making breaking changes elsewhere in the project, I thought it was about time to bump keccak's MSRV

Copy link
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

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

Maybe we also should use const generics for number of rounds? Plus it may be worth to replace crate features with configuration options.

`keccak` was previously excluded from the toplevel workspace due to its
MSRV of 1.41 and incompatibilities with packages used by `ascon`.

This bumps the edition, changes the version to `0.2.0-pre` to denote it
contains breaking changes (though this is not intended to be a
`0.2.0-pre` release), and bumps MSRV.

With the MSRV bumped, `keccak` can and has been re-added to the toplevel
workspace.
@tarcieri tarcieri force-pushed the keccak/2021-edition-and-add-back-to-workspace branch from 75debec to 70309c7 Compare January 12, 2024 21:25
@tarcieri tarcieri changed the title keccak: 2021 edition upgrade; MSRV 1.59 keccak: 2021 edition upgrade; MSRV 1.60 Jan 12, 2024
@tarcieri tarcieri merged commit 7675b17 into master Jan 12, 2024
26 checks passed
@tarcieri tarcieri deleted the keccak/2021-edition-and-add-back-to-workspace branch January 12, 2024 21:45
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