mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch.
70 lines
1.5 KiB
Rust
70 lines
1.5 KiB
Rust
/* 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(iter_cmp)]
|
|
#![feature(plugin)]
|
|
#![feature(slice_bytes)]
|
|
#![feature(vec_push_all)]
|
|
#![feature(mpsc_select)]
|
|
#![feature(plugin)]
|
|
#![plugin(plugins)]
|
|
|
|
#![deny(unsafe_code)]
|
|
#![plugin(serde_macros)]
|
|
|
|
extern crate app_units;
|
|
#[macro_use]
|
|
extern crate log;
|
|
#[macro_use]
|
|
extern crate profile_traits;
|
|
#[macro_use]
|
|
extern crate util;
|
|
extern crate azure;
|
|
extern crate canvas;
|
|
extern crate canvas_traits;
|
|
extern crate clipboard;
|
|
|
|
#[cfg(target_os = "macos")]
|
|
extern crate core_graphics;
|
|
#[cfg(target_os = "macos")]
|
|
extern crate core_text;
|
|
|
|
extern crate devtools_traits;
|
|
extern crate euclid;
|
|
extern crate gaol;
|
|
extern crate gfx;
|
|
extern crate gfx_traits;
|
|
extern crate gleam;
|
|
extern crate image;
|
|
extern crate ipc_channel;
|
|
extern crate layers;
|
|
extern crate layout_traits;
|
|
extern crate msg;
|
|
extern crate net_traits;
|
|
extern crate num;
|
|
extern crate offscreen_gl_context;
|
|
extern crate script_traits;
|
|
extern crate serde;
|
|
extern crate style_traits;
|
|
|
|
extern crate libc;
|
|
extern crate time;
|
|
extern crate url;
|
|
|
|
pub use compositor_task::{CompositorEventListener, CompositorProxy, CompositorTask};
|
|
pub use constellation::Constellation;
|
|
|
|
mod compositor;
|
|
mod compositor_layer;
|
|
mod headless;
|
|
mod scrolling;
|
|
mod surface_map;
|
|
mod timer_scheduler;
|
|
pub mod compositor_task;
|
|
pub mod constellation;
|
|
pub mod pipeline;
|
|
pub mod sandboxing;
|
|
pub mod windowing;
|