aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs14
1 files changed, 8 insertions, 6 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index a3c528df29c..f24bd11a82e 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -2,19 +2,22 @@
* 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(default_type_params, globs, macro_rules, phase, unsafe_destructor)]
+#![feature(unsafe_destructor, plugin, box_syntax, int_uint)]
+#![feature(old_impl_check)]
#![deny(unsafe_blocks)]
#![deny(unused_imports)]
#![deny(unused_variables)]
#![allow(non_snake_case)]
#![allow(missing_copy_implementations)]
+#![allow(unstable)]
#![doc="The script crate contains all matters DOM."]
-#[phase(plugin, link)]
+#[macro_use]
extern crate log;
+extern crate core;
extern crate devtools_traits;
extern crate cssparser;
extern crate collections;
@@ -26,22 +29,21 @@ extern crate js;
extern crate libc;
extern crate msg;
extern crate net;
-extern crate rustrt;
extern crate serialize;
extern crate time;
extern crate canvas;
extern crate script_traits;
-#[phase(plugin)]
+#[no_link] #[plugin] #[macro_use]
extern crate "plugins" as servo_plugins;
extern crate "net" as servo_net;
extern crate "util" as servo_util;
-#[phase(plugin, link)]
+#[macro_use]
extern crate style;
extern crate "msg" as servo_msg;
extern crate url;
extern crate uuid;
extern crate string_cache;
-#[phase(plugin)]
+#[no_link] #[macro_use] #[plugin]
extern crate string_cache_macros;
pub mod cors;