2015-09-04 15:46:11 +03:00
|
|
|
/* 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/. */
|
|
|
|
|
|
|
|
//! This module contains shared types and messages for use by devtools/script.
|
|
|
|
//! The traits are here instead of in script so that the devtools crate can be
|
|
|
|
//! modified independently of the rest of Servo.
|
|
|
|
|
|
|
|
#![crate_name = "style_traits"]
|
|
|
|
#![crate_type = "rlib"]
|
|
|
|
#![feature(custom_derive)]
|
|
|
|
#![feature(plugin)]
|
2016-02-05 01:10:36 +03:00
|
|
|
#![plugin(heapsize_plugin)]
|
2015-09-04 15:46:11 +03:00
|
|
|
#![plugin(serde_macros)]
|
2015-09-09 21:53:21 +03:00
|
|
|
#![plugin(plugins)]
|
2015-09-04 15:46:11 +03:00
|
|
|
#![deny(unsafe_code)]
|
|
|
|
|
2015-09-24 00:02:56 +03:00
|
|
|
#[macro_use]
|
|
|
|
extern crate cssparser;
|
2015-09-04 15:46:11 +03:00
|
|
|
extern crate euclid;
|
2016-02-05 01:10:36 +03:00
|
|
|
extern crate heapsize;
|
2015-09-04 15:46:11 +03:00
|
|
|
extern crate rustc_serialize;
|
|
|
|
extern crate serde;
|
|
|
|
extern crate util;
|
|
|
|
|
2016-02-16 14:20:20 +03:00
|
|
|
pub mod cursor;
|
2015-09-04 15:46:11 +03:00
|
|
|
#[macro_use]
|
|
|
|
pub mod values;
|
|
|
|
pub mod viewport;
|
2015-11-27 01:26:08 +03:00
|
|
|
|