Skip to content

Move ChaChaRng and Hc128Rng to their own crates - #607

Merged
vks merged 6 commits into
rust-random:masterfrom
vks:extract-csprng
Sep 27, 2018
Merged

vks merged 6 commits into
rust-random:masterfrom
vks:extract-csprng

Conversation

@vks

@vks vks commented Sep 14, 2018

Copy link
Copy Markdown
Contributor

This leaves rand::prng as a module only containing deprecated code. In principle it could be removed/hidden, but we still want to have the PRNG comparison somewhere.

@vks

vks commented Sep 14, 2018

Copy link
Copy Markdown
Contributor Author

This fixes #431 (only what is said in the title, not the whole list in the issue).

@dhardy

dhardy commented Sep 17, 2018

Copy link
Copy Markdown
Member

Thanks @vks.

The CI seems to be complaining about broken links in the documentation.

Could you rebase after #611 please with the relevant changes?

@dhardy

dhardy commented Sep 20, 2018

Copy link
Copy Markdown
Member

Okay @vks could you please update in line with #611? In particular, the authors line (ChaCha should list both; Hc128 can just list the Rand project devs). Also, the LICENSE-MIT files.

@vks

vks commented Sep 20, 2018 via email

Copy link
Copy Markdown
Contributor Author

@dhardy dhardy mentioned this pull request Sep 22, 2018
20 of 28 tasks
@vks

vks commented Sep 25, 2018

Copy link
Copy Markdown
Contributor Author

@dhardy I think I addressed all your concerns. I'll squash after review.

@dhardy dhardy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @vks, mostly looks good.

I see you updated script.sh but this is only for the Trust cross tests. You should update .travis.yml and appveyor.yml too.

Comment thread rand_chacha/CHANGELOG.md Outdated
Comment thread rand_chacha/Cargo.toml Outdated
Comment thread rand_chacha/Cargo.toml
Comment thread rand_chacha/README.md Outdated
Comment thread rand_chacha/build.rs
Comment thread rand_hc128/CHANGELOG.md Outdated
Comment thread rand_hc128/Cargo.toml Outdated
Comment thread rand_hc128/README.md Outdated
Comment thread rand_hc128/README.md Outdated
Comment thread rand_chacha/README.md Outdated
@vks

vks commented Sep 25, 2018 •

Copy link
Copy Markdown
Contributor Author

I don't know what is going on with those MIPS and ARMv7 failures. The rest should be fine now.

@dhardy

dhardy commented Sep 25, 2018

Copy link
Copy Markdown
Member

Me neither. On both runners the ChaCha crate passes but the HC128 one fails. There's very little difference between the Cargo.toml or lib files; the only significant thing I see is a build script for ChaCha.

You can just comment out the hc128 cross-tests and merge if you like; everything else looks good.

They fail to link for unknown reasons. Also see rust-random#607.
@vks
vks merged commit 7aec8e2 into rust-random:master Sep 27, 2018
@vks
vks deleted the extract-csprng branch September 27, 2018 12:49
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