diff options
Diffstat (limited to 'components/gfx_traits')
-rw-r--r-- | components/gfx_traits/lib.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/components/gfx_traits/lib.rs b/components/gfx_traits/lib.rs index 2c6c32ca9f2..3f27c9280f9 100644 --- a/components/gfx_traits/lib.rs +++ b/components/gfx_traits/lib.rs @@ -6,16 +6,11 @@ #![crate_type = "rlib"] #![deny(unsafe_code)] -#[macro_use] -extern crate malloc_size_of_derive; -#[macro_use] -extern crate range; -#[macro_use] -extern crate serde; - pub mod print_tree; -use range::RangeIndex; +use malloc_size_of_derive::MallocSizeOf; +use range::{int_range_index, RangeIndex}; +use serde::{Deserialize, Serialize}; use std::sync::atomic::{AtomicUsize, Ordering}; use webrender_api::{Epoch as WebRenderEpoch, FontInstanceKey, FontKey, NativeFontHandle}; |