Deprecate in-tree rand
, std::rand
and #[derive(Rand)]
.
Use the crates.io crate `rand` (version 0.1 should be a drop in replacement for `std::rand`) and `rand_macros` (`#[derive_Rand]` should be a drop-in replacement). [breaking-change]
This commit is contained in:
parent
eaf4c5c784
commit
df1ac7aa63
21 changed files with 26 additions and 100 deletions
|
@ -142,7 +142,7 @@ extern crate core;
|
|||
#[macro_reexport(vec)]
|
||||
extern crate "collections" as core_collections;
|
||||
|
||||
extern crate "rand" as core_rand;
|
||||
#[allow(deprecated)] extern crate "rand" as core_rand;
|
||||
extern crate alloc;
|
||||
extern crate unicode;
|
||||
extern crate libc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue