diff options
Diffstat (limited to 'components/pixels/lib.rs')
-rw-r--r-- | components/pixels/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/pixels/lib.rs b/components/pixels/lib.rs index 88d845a3033..46a567d78e9 100644 --- a/components/pixels/lib.rs +++ b/components/pixels/lib.rs @@ -2,11 +2,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -#[macro_use] -extern crate serde; - use euclid::default::{Point2D, Rect, Size2D}; use malloc_size_of_derive::MallocSizeOf; +use serde::{Deserialize, Serialize}; use std::borrow::Cow; #[derive(Clone, Copy, Debug, Deserialize, Eq, MallocSizeOf, PartialEq, Serialize)] |