mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Move constellation into its own crate.
This commit is contained in:
parent
aa8c835d3b
commit
c057ace251
13 changed files with 197 additions and 47 deletions
45
components/constellation/lib.rs
Normal file
45
components/constellation/lib.rs
Normal file
|
@ -0,0 +1,45 @@
|
|||
/* 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(box_syntax)]
|
||||
#![feature(custom_derive)]
|
||||
#![feature(plugin)]
|
||||
#![feature(mpsc_select)]
|
||||
#![feature(plugin)]
|
||||
#![plugin(plugins)]
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
#![plugin(serde_macros)]
|
||||
|
||||
extern crate canvas;
|
||||
extern crate canvas_traits;
|
||||
extern crate clipboard;
|
||||
extern crate compositing;
|
||||
extern crate devtools_traits;
|
||||
extern crate euclid;
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
extern crate gaol;
|
||||
extern crate gfx;
|
||||
extern crate gfx_traits;
|
||||
extern crate ipc_channel;
|
||||
extern crate layout_traits;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate msg;
|
||||
extern crate net_traits;
|
||||
extern crate offscreen_gl_context;
|
||||
#[macro_use]
|
||||
extern crate profile_traits;
|
||||
extern crate rand;
|
||||
extern crate script_traits;
|
||||
extern crate style_traits;
|
||||
extern crate url;
|
||||
#[macro_use]
|
||||
extern crate util;
|
||||
extern crate webrender_traits;
|
||||
|
||||
mod constellation;
|
||||
mod timer_scheduler;
|
||||
|
||||
pub use constellation::{Constellation, InitialConstellationState};
|
Loading…
Add table
Add a link
Reference in a new issue