s/derive_rand/rand_macros/
This commit is contained in:
parent
c7ce7385a0
commit
e5b9a0f958
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,4 +1,2 @@
|
||||
/target
|
||||
/Cargo.lock
|
||||
/derive_rand/target
|
||||
/derive_rand/Cargo.lock
|
||||
target
|
||||
Cargo.lock
|
||||
|
@ -17,5 +17,5 @@ keywords = ["random"]
|
||||
log = "0.2.1"
|
||||
libc = "0.1.1"
|
||||
|
||||
[dev-dependencies.derive_rand]
|
||||
path = "derive_rand"
|
||||
[dev-dependencies.rand_macros]
|
||||
path = "rand_macros"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
|
||||
name = "derive_rand"
|
||||
name = "rand_macros"
|
||||
version = "0.1.1"
|
||||
authors = ["The Rust Project Developers"]
|
||||
license = "MIT/Apache-2.0"
|
||||
@ -13,5 +13,5 @@ description = """
|
||||
"""
|
||||
|
||||
[lib]
|
||||
name = "derive_rand"
|
||||
name = "rand_macros"
|
||||
plugin = true
|
@ -5,7 +5,7 @@
|
||||
```rust
|
||||
#![feature(plugin)]
|
||||
|
||||
#[plugin] #[no_link] extern crate derive_rand;
|
||||
#[plugin] #[no_link] extern crate rand_macros;
|
||||
extern crate rand;
|
||||
|
||||
#[derive_Rand]
|
@ -1,7 +1,7 @@
|
||||
#![allow(dead_code)]
|
||||
#![feature(plugin, core)]
|
||||
|
||||
#[plugin] #[no_link] extern crate derive_rand;
|
||||
#[plugin] #[no_link] extern crate rand_macros;
|
||||
extern crate rand;
|
||||
|
||||
use rand::Rng;
|
Loading…
x
Reference in New Issue
Block a user