aboutsummaryrefslogtreecommitdiffstats
path: root/components/embedder_traits/lib.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2023-09-08 14:11:31 +0200
committerGitHub <noreply@github.com>2023-09-08 12:11:31 +0000
commit711dbbd4afe161fc334db198357d814e99e5ac57 (patch)
tree5c0e3a6a18dd26c9e39a47a790c6ec36f0ff8d4d /components/embedder_traits/lib.rs
parenta0cff6a0858e675b805a71238ab96fa295a271f8 (diff)
downloadservo-711dbbd4afe161fc334db198357d814e99e5ac57.tar.gz
servo-711dbbd4afe161fc334db198357d814e99e5ac57.zip
remove `extern crate` (#30311)
* remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/embedder_traits/lib.rs')
-rw-r--r--components/embedder_traits/lib.rs12
1 files changed, 3 insertions, 9 deletions
diff --git a/components/embedder_traits/lib.rs b/components/embedder_traits/lib.rs
index da117823340..b5154948f48 100644
--- a/components/embedder_traits/lib.rs
+++ b/components/embedder_traits/lib.rs
@@ -2,21 +2,15 @@
* 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 lazy_static;
-#[macro_use]
-extern crate log;
-#[macro_use]
-extern crate num_derive;
-#[macro_use]
-extern crate serde;
-
pub mod resources;
use crossbeam_channel::{Receiver, Sender};
use ipc_channel::ipc::IpcSender;
use keyboard_types::KeyboardEvent;
+use log::warn;
use msg::constellation_msg::{InputMethodType, PipelineId, TopLevelBrowsingContextId};
+use num_derive::FromPrimitive;
+use serde::{Deserialize, Serialize};
use servo_url::ServoUrl;
use std::fmt::{Debug, Error, Formatter};
use webrender_api::units::{DeviceIntPoint, DeviceIntRect, DeviceIntSize};