Skip to main content

servo_constellation/
lib.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5#![deny(unsafe_code)]
6#![deny(clippy::unwrap_used)]
7#![deny(clippy::panic)]
8
9#[macro_use]
10mod tracing;
11
12mod broadcastchannel;
13mod browsingcontext;
14mod constellation;
15mod constellation_webview;
16mod embedder;
17mod event_loop;
18mod logging;
19mod pipeline;
20#[cfg(feature = "multiprocess")]
21mod process_manager;
22#[cfg(feature = "multiprocess")]
23mod sandboxing;
24mod screenshot_readiness_request;
25mod serviceworker;
26mod session_history;
27
28pub use crate::constellation::{Constellation, InitialConstellationState};
29pub use crate::embedder::ConstellationToEmbedderMsg;
30pub use crate::event_loop::EventLoop;
31#[cfg(feature = "multiprocess")]
32pub use crate::event_loop::NewScriptEventLoopProcessInfo;
33pub use crate::logging::{FromEmbedderLogger, FromScriptLogger};
34#[cfg(feature = "multiprocess")]
35pub use crate::sandboxing::{UnprivilegedContent, content_process_sandbox_profile};