Remove usage of the mod_path compiler plugin.

https://github.com/rust-lang/rust/pull/20179 makes its use case much weaker.
This commit is contained in:
Simon Sapin 2015-05-22 10:08:38 +02:00
parent 1060cfde68
commit 53c32cdc78
6 changed files with 4 additions and 23 deletions

View file

@ -32,7 +32,6 @@ encoding = "0.2"
rustc-serialize = "0.3"
matches = "0.1"
url = "0.2.16"
mod_path = "0.1"
bitflags = "*"
cssparser = "0.3.1"
num = "0.1.24"

View file

@ -11,7 +11,6 @@
#![feature(rustc_private)]
#![plugin(string_cache_plugin)]
#![plugin(mod_path)]
#[macro_use] extern crate log;
#[macro_use] extern crate bitflags;
@ -44,7 +43,10 @@ pub mod selector_matching;
#[macro_use] pub mod values;
// Generated from the properties.mako.rs template by build.rs
mod_path! properties (concat!(env!("OUT_DIR"), "/properties.rs"));
#[macro_use]
pub mod properties {
include!(concat!(env!("OUT_DIR"), "/properties.rs"));
}
pub mod node;
pub mod media_queries;

View file

@ -4,8 +4,6 @@
// This file is a Mako template: http://www.makotemplates.org/
#![macro_use]
use std::ascii::AsciiExt;
use std::borrow::ToOwned;
use std::default::Default;