Remove usage of phf_macros.

It’s a compiler plugin that uses unstable compiler APIs
that are not on a path to stabilization.

With this changes, there is one less thing that might break
when we update the compiler. For example:
https://github.com/sfackler/rust-phf/pull/101
This commit is contained in:
Simon Sapin 2017-01-18 17:25:59 +01:00
parent 80c6383140
commit 71fb02953c
5 changed files with 53 additions and 15 deletions

View file

@ -16,6 +16,9 @@ debugmozjs = ['js/debugmozjs']
[build-dependencies]
cmake = "0.1"
phf_codegen = "0.7.18"
phf_shared = "0.7.18"
regex = "0.2"
[target.'cfg(any(target_os = "macos", target_os = "linux", target_os = "windows"))'.dependencies]
tinyfiledialogs = "2.5.9"
@ -57,7 +60,6 @@ offscreen_gl_context = "0.5.0"
open = "1.1.1"
parking_lot = "0.3"
phf = "0.7.18"
phf_macros = "0.7.18"
plugins = {path = "../plugins"}
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}