-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
lib.rs
67 lines (53 loc) · 1.54 KB
/
lib.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![feature(alloc)]
#![feature(plugin)]
#![feature(box_syntax)]
#![feature(core)]
#![feature(collections)]
#![feature(hash)]
#![feature(rustc_private)]
#![plugin(string_cache_plugin)]
#![plugin(mod_path)]
#[macro_use] extern crate log;
#[macro_use] extern crate bitflags;
extern crate collections;
extern crate geom;
extern crate url;
#[macro_use]
extern crate cssparser;
#[macro_use]
extern crate matches;
extern crate encoding;
extern crate rustc_serialize;
extern crate string_cache;
extern crate selectors;
#[macro_use]
extern crate lazy_static;
extern crate num;
extern crate util;
pub mod stylesheets;
pub mod parser;
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"));
pub mod node;
pub mod media_queries;
pub mod font_face;
pub mod legacy;
pub mod animation;
pub mod viewport;
macro_rules! reexport_computed_values {
( $( $name: ident )+ ) => {
pub mod computed_values {
$(
pub use properties::longhands::$name::computed_value as $name;
)+
// Don't use a side-specific name needlessly:
pub use properties::longhands::border_top_style::computed_value as border_style;
}
}
}
longhand_properties_idents!(reexport_computed_values);