servo_config/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//! This crate provides two mechanisms for configuring the behaviour of the Servo engine.
6//! - The [`opts`] module exposes a set of global flags that are initialized once
7//! and cannot be changed at runtime.
8//! - The [`prefs`] module provides a mechanism to get and set global preference
9//! values that can be changed at runtime.
10
11#![deny(unsafe_code)]
12
13pub mod opts;
14pub mod pref_util;
15pub mod prefs;