mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove net from dependencies
This commit is contained in:
parent
68472fabf8
commit
74ecc2bd64
6 changed files with 30 additions and 20 deletions
|
@ -76,7 +76,6 @@ mime = "0.3.13"
|
|||
mime_guess = "2.0.0"
|
||||
mitochondria = "1.1.2"
|
||||
msg = { path = "../msg" }
|
||||
net = { path = "../net" }
|
||||
net_traits = { path = "../net_traits" }
|
||||
num-traits = "0.2"
|
||||
parking_lot = "0.11"
|
||||
|
|
|
@ -13,8 +13,9 @@ use crate::dom::globalscope::GlobalScope;
|
|||
use data_url::mime::Mime as DataUrlMime;
|
||||
use dom_struct::dom_struct;
|
||||
use http::header::{HeaderMap as HyperHeaders, HeaderName, HeaderValue};
|
||||
use net::fetch::headers::get_value_from_header_list;
|
||||
use net_traits::request::is_cors_safelisted_request_header;
|
||||
use net_traits::{
|
||||
fetch::headers::get_value_from_header_list, request::is_cors_safelisted_request_header,
|
||||
};
|
||||
use std::cell::Cell;
|
||||
use std::str::{self, FromStr};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue