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
Please consider undeprecating rngs::adapter::ReadRng<File> #1212
Comments
Thanks for the request — it only took eight months to find a legitimate use of Personally I'm fine with undeprecating |
Would it be feasible to move the code downstream? It's not a lot of code. I would recommend to deprecate |
I am in favor of keeping it deprecated. It's not a lot of code, so it can be easily implemented in a stand alone crate or copied into a project, while having it part of |
Whoops @tertsdiepraam pointed out that this was already discussed in #1152. Thanks for your quick input! Given that:
I'll close this and copy the relevant code into uutils/coreutils or see if uutils wants to switch to a |
Background
refs: #1130
What is your motivation?
It's used to implement --random-source=FILE for the
shuf
command here.What type of application is this?
A "Cross-platform Rust rewrite of the GNU coreutils"
Feature request
Consider undeprecating
rngs::adapter::ReadRng<File>
or confirm that it will stay deprecated and need to be reimplemented in downstream projects. Thanks!The text was updated successfully, but these errors were encountered: