@khinsen Sure, but why can't there be a nice single-file Rust version? (Maybe there is, but I need to search harder).
This looks like a nice blog post about it. Apparently you can turn off default features of rand to shrink it down a lot already, didn't know that: