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 ///! Profiler Rust API 6 7 #[macro_use] 8 extern crate lazy_static; 9 10 pub mod gecko_bindings; 11 mod json_writer; 12 mod label; 13 mod marker; 14 mod profiler_state; 15 mod thread; 16 mod time; 17 18 pub use gecko_bindings::profiling_categories::*; 19 pub use json_writer::*; 20 pub use label::*; 21 pub use marker::options::*; 22 pub use marker::schema::MarkerSchema; 23 pub use marker::*; 24 pub use profiler_macros::gecko_profiler_fn_label; 25 pub use profiler_state::*; 26 pub use thread::*; 27 pub use time::*; 28 29 pub use serde::{Deserialize, Serialize}; 30