mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
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>
This commit is contained in:
parent
a0cff6a085
commit
711dbbd4af
274 changed files with 415 additions and 429 deletions
|
@ -8,11 +8,6 @@
|
|||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate html5ever;
|
||||
#[macro_use]
|
||||
extern crate malloc_size_of_derive;
|
||||
|
||||
pub mod message;
|
||||
pub mod rpc;
|
||||
pub mod wrapper_traits;
|
||||
|
@ -21,6 +16,7 @@ use atomic_refcell::AtomicRefCell;
|
|||
use canvas_traits::canvas::{CanvasId, CanvasMsg};
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use libc::c_void;
|
||||
use malloc_size_of_derive::MallocSizeOf;
|
||||
use net_traits::image_cache::PendingImageId;
|
||||
use script_traits::UntrustedNodeAddress;
|
||||
use servo_url::{ImmutableOrigin, ServoUrl};
|
||||
|
|
|
@ -9,6 +9,7 @@ use crossbeam_channel::{Receiver, Sender};
|
|||
use euclid::default::{Point2D, Rect};
|
||||
use gfx_traits::Epoch;
|
||||
use ipc_channel::ipc::{IpcReceiver, IpcSender};
|
||||
use malloc_size_of_derive::MallocSizeOf;
|
||||
use metrics::PaintTimeMetrics;
|
||||
use msg::constellation_msg::{BackgroundHangMonitorRegister, BrowsingContextId, PipelineId};
|
||||
use net_traits::image_cache::ImageCache;
|
||||
|
|
|
@ -11,6 +11,9 @@ use crate::SVGSVGData;
|
|||
use crate::StyleAndOpaqueLayoutData;
|
||||
use atomic_refcell::AtomicRef;
|
||||
use gfx_traits::{combine_id_with_fragment_type, ByteIndex, FragmentType};
|
||||
use html5ever::local_name;
|
||||
use html5ever::namespace_url;
|
||||
use html5ever::ns;
|
||||
use html5ever::{LocalName, Namespace};
|
||||
use msg::constellation_msg::{BrowsingContextId, PipelineId};
|
||||
use net_traits::image::base::{Image, ImageMetadata};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue