lib.rs (1113B)
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 http://mozilla.org/MPL/2.0/. */ 4 5 #![allow(unknown_lints, mismatched_lifetime_syntaxes)] 6 #![deny(warnings)] 7 8 extern crate app_units; 9 extern crate bincode; 10 extern crate euclid; 11 extern crate gecko_profiler; 12 extern crate gleam; 13 extern crate nsstring; 14 extern crate num_cpus; 15 extern crate rayon; 16 extern crate rustc_hash; 17 extern crate swgl; 18 extern crate thin_vec; 19 extern crate tracy_rs; 20 extern crate uuid; 21 extern crate webrender; 22 extern crate wr_malloc_size_of; 23 24 #[macro_use] 25 extern crate log; 26 27 #[cfg(target_os = "windows")] 28 extern crate dwrote; 29 #[cfg(target_os = "windows")] 30 extern crate winapi; 31 32 #[cfg(any(target_os = "macos", target_os = "ios"))] 33 extern crate core_foundation; 34 #[cfg(any(target_os = "macos", target_os = "ios"))] 35 extern crate core_graphics; 36 #[cfg(any(target_os = "macos", target_os = "ios"))] 37 extern crate foreign_types; 38 39 mod program_cache; 40 41 #[allow(non_snake_case)] 42 pub mod bindings; 43 pub mod moz2d_renderer; 44 mod swgl_bindings;