1
Fork 0

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:
Huon Wilson 2015-02-03 20:11:38 +11:00
parent eaf4c5c784
commit df1ac7aa63
21 changed files with 26 additions and 100 deletions

View file

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