diff --git a/README.md b/README.md index 1d3c4e46..c93fab71 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Example #![feature(plugin)] #[plugin] #[no_link] -extern crate phf_mac; +extern crate phf_macros; extern crate phf; #[derive(Clone)] diff --git a/phf/Cargo.toml b/phf/Cargo.toml index 2d651296..11dc64d8 100644 --- a/phf/Cargo.toml +++ b/phf/Cargo.toml @@ -16,6 +16,6 @@ test = false path = "../phf_shared" version = "=0.5.0" -[dev_dependencies.phf_mac] -path = "../phf_mac" +[dev_dependencies.phf_macros] +path = "../phf_macros" version = "=0.5.0" diff --git a/phf/src/map.rs b/phf/src/map.rs index 8191a189..22c5b639 100644 --- a/phf/src/map.rs +++ b/phf/src/map.rs @@ -15,7 +15,7 @@ use phf_shared; /// #![feature(plugin)] /// extern crate phf; /// #[plugin] #[no_link] -/// extern crate phf_mac; +/// extern crate phf_macros; /// /// static MY_MAP: phf::Map<&'static str, isize> = phf_map! { /// "hello" => 10, diff --git a/phf/src/ordered_map.rs b/phf/src/ordered_map.rs index 042309c5..b0c2366f 100644 --- a/phf/src/ordered_map.rs +++ b/phf/src/ordered_map.rs @@ -20,7 +20,7 @@ use phf_shared; /// #![feature(plugin)] /// extern crate phf; /// #[plugin] #[no_link] -/// extern crate phf_mac; +/// extern crate phf_macros; /// /// static MY_MAP: phf::OrderedMap<&'static str, isize> = phf_ordered_map! { /// "hello" => 10, diff --git a/phf/src/ordered_set.rs b/phf/src/ordered_set.rs index 9bf6a80f..e7406f6d 100644 --- a/phf/src/ordered_set.rs +++ b/phf/src/ordered_set.rs @@ -17,7 +17,7 @@ use {PhfHash, OrderedMap}; /// #![feature(plugin)] /// extern crate phf; /// #[plugin] #[no_link] -/// extern crate phf_mac; +/// extern crate phf_macros; /// /// static MY_SET: phf::OrderedSet<&'static str> = phf_ordered_set! { /// "hello", diff --git a/phf/src/set.rs b/phf/src/set.rs index c1907ada..e945d551 100644 --- a/phf/src/set.rs +++ b/phf/src/set.rs @@ -15,7 +15,7 @@ use Map; /// #![feature(plugin)] /// extern crate phf; /// #[plugin] #[no_link] -/// extern crate phf_mac; +/// extern crate phf_macros; /// /// static MY_SET: phf::Set<&'static str> = phf_set! { /// "hello", diff --git a/phf/tests/test.rs b/phf/tests/test.rs index 4b108bc9..ed3647e8 100644 --- a/phf/tests/test.rs +++ b/phf/tests/test.rs @@ -2,7 +2,7 @@ #![feature(plugin)] #[plugin] #[no_link] -extern crate phf_mac; +extern crate phf_macros; extern crate phf; mod map { diff --git a/phf_mac/Cargo.toml b/phf_macros/Cargo.toml similarity index 91% rename from phf_mac/Cargo.toml rename to phf_macros/Cargo.toml index 8bb60ed2..1d03af80 100644 --- a/phf_mac/Cargo.toml +++ b/phf_macros/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "phf_mac" +name = "phf_macros" authors = ["Steven Fackler "] version = "0.5.0" license = "MIT" @@ -7,7 +7,7 @@ description = "Compiler plugin for perfect hash function data structures" repository = "https://github.com/sfackler/rust-phf" [lib] -name = "phf_mac" +name = "phf_macros" path = "src/lib.rs" plugin = true test = false diff --git a/phf_mac/src/lib.rs b/phf_macros/src/lib.rs similarity index 100% rename from phf_mac/src/lib.rs rename to phf_macros/src/lib.rs diff --git a/phf_mac/src/util.rs b/phf_macros/src/util.rs similarity index 100% rename from phf_mac/src/util.rs rename to phf_macros/src/util.rs