Skip to content

serde support for ChaCha - #1124

Merged
vks merged 7 commits into
rust-random:masterfrom
kazcw:chacha-serde
May 22, 2021
Merged

vks merged 7 commits into
rust-random:masterfrom
kazcw:chacha-serde

Conversation

@kazcw

@kazcw kazcw commented May 10, 2021

Copy link
Copy Markdown
Contributor

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.

@vks vks left a comment

Copy link
Copy Markdown
Contributor

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

kazcw commented May 12, 2021

Copy link
Copy Markdown
Contributor Author

@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.

@vks vks left a comment

Copy link
Copy Markdown
Contributor

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

kazcw commented May 12, 2021

Copy link
Copy Markdown
Contributor Author

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.

2 participants