Skip to content

Commit

Permalink
Rename phf_mac to phf_macros
Browse files Browse the repository at this point in the history
Closes #42
  • Loading branch information
sfackler committed Jan 25, 2015
1 parent 28af2aa commit c50d107
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -23,7 +23,7 @@ Example
#![feature(plugin)]

#[plugin] #[no_link]
extern crate phf_mac;
extern crate phf_macros;
extern crate phf;

#[derive(Clone)]
Expand Down
4 changes: 2 additions & 2 deletions phf/Cargo.toml
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion phf/src/map.rs
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion phf/src/ordered_map.rs
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion phf/src/ordered_set.rs
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion phf/src/set.rs
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion phf/tests/test.rs
Expand Up @@ -2,7 +2,7 @@
#![feature(plugin)]

#[plugin] #[no_link]
extern crate phf_mac;
extern crate phf_macros;
extern crate phf;

mod map {
Expand Down
4 changes: 2 additions & 2 deletions phf_mac/Cargo.toml → phf_macros/Cargo.toml
@@ -1,13 +1,13 @@
[package]
name = "phf_mac"
name = "phf_macros"
authors = ["Steven Fackler <sfackler@gmail.com>"]
version = "0.5.0"
license = "MIT"
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
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c50d107

Please sign in to comment.