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

serde support for ChaCha #1124

Merged
merged 7 commits into from May 22, 2021
Merged

serde support for ChaCha #1124

merged 7 commits into from May 22, 2021

Conversation

kazcw
Copy link
Collaborator

@kazcw kazcw commented May 10, 2021

See #1101.

kazcw added 5 commits May 10, 2021 14:37
The new getters correspond to existing setters.
Equivalent to the previous implementation, but clearer in intent. The
representable-abstract-state framework introduced here is
general-purpose and can also be used e.g. for serialization.
The format is semver-stable.
Copy link
Collaborator

@vks vks left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

Could you please update the changelog?

@kazcw
Copy link
Collaborator Author

kazcw commented May 12, 2021

@vks: CHANGELOG updated. While we're here, I also snuck in a small refactor of the internal API. The numbered-stream-param concept is now internal to guts.

Copy link
Collaborator

@vks vks left a comment

Choose a reason for hiding this comment

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

Great, thanks! The test failures are on nightly only, which is not blocking this from getting merged.

@kazcw
Copy link
Collaborator Author

kazcw commented May 12, 2021

Yeah, the test failure occurs on master too. It looks like serde is broken on nightly, because of this bug in a dependency: rust-lang/packed_simd#320

@vks vks merged commit ea26d87 into rust-random:master May 22, 2021
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.

None yet

2 participants