mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +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
|
@ -3,6 +3,7 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use embedder_traits::resources::{self, Resource};
|
||||
use lazy_static::lazy_static;
|
||||
use serde_json::{self, Value};
|
||||
use std::borrow::ToOwned;
|
||||
use std::collections::HashMap;
|
||||
|
@ -85,6 +86,7 @@ pub fn read_prefs_map(txt: &str) -> Result<HashMap<String, PrefValue>, PrefError
|
|||
}
|
||||
|
||||
mod gen {
|
||||
use serde::{Deserialize, Serialize};
|
||||
use servo_config_plugins::build_structs;
|
||||
|
||||
// The number of layout threads is calculated if it is not present in `prefs.json`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue