s/derive_rand/rand_macros/

This commit is contained in:
Alex Crichton 2015-02-06 08:47:51 -08:00
parent c7ce7385a0
commit e5b9a0f958
6 changed files with 8 additions and 10 deletions

6
.gitignore vendored
View file

@ -1,4 +1,2 @@
/target
/Cargo.lock
/derive_rand/target
/derive_rand/Cargo.lock
target
Cargo.lock

View file

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

View file

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

View file

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

View file

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