From 5c03dd8eb15290c7e47e8a15172051c751a1109c Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 14 Jun 2016 19:29:43 +0100 Subject: Introduce a script_layout_interface crate and move RestyleDamage to it. --- components/script_layout_interface/lib.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 components/script_layout_interface/lib.rs (limited to 'components/script_layout_interface/lib.rs') diff --git a/components/script_layout_interface/lib.rs b/components/script_layout_interface/lib.rs new file mode 100644 index 00000000000..1aed95b6210 --- /dev/null +++ b/components/script_layout_interface/lib.rs @@ -0,0 +1,18 @@ +/* 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 traits in script used generically in the rest of Servo. +//! The traits are here instead of in script so that these modules won't have +//! to depend on script. + +#![deny(unsafe_code)] +#![feature(plugin)] +#![plugin(plugins)] + +#[allow(unused_extern_crates)] +#[macro_use] +extern crate bitflags; +extern crate style; + +pub mod restyle_damage; -- cgit v1.2.3