mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +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
|
@ -7,6 +7,9 @@
|
|||
|
||||
use euclid::Size2D;
|
||||
use getopts::{Matches, Options};
|
||||
use lazy_static::lazy_static;
|
||||
use log::error;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use servo_geometry::DeviceIndependentPixel;
|
||||
use servo_url::ServoUrl;
|
||||
use std::default::Default;
|
||||
|
@ -19,6 +22,8 @@ use std::sync::atomic::{AtomicBool, Ordering};
|
|||
use std::sync::{RwLock, RwLockReadGuard};
|
||||
use url::{self, Url};
|
||||
|
||||
use crate::{pref, set_pref};
|
||||
|
||||
/// Global flags for Servo, currently set on the command line.
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct Opts {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue