aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits
diff options
context:
space:
mode:
Diffstat (limited to 'components/net_traits')
-rw-r--r--components/net_traits/Cargo.toml1
-rw-r--r--components/net_traits/lib.rs1
-rw-r--r--components/net_traits/response.rs3
3 files changed, 4 insertions, 1 deletions
diff --git a/components/net_traits/Cargo.toml b/components/net_traits/Cargo.toml
index b739e8ce957..a1315698419 100644
--- a/components/net_traits/Cargo.toml
+++ b/components/net_traits/Cargo.toml
@@ -24,6 +24,7 @@ malloc_size_of_derive = { path = "../malloc_size_of_derive" }
msg = {path = "../msg"}
num-traits = "0.1.32"
serde = "1.0"
+servo_arc = {path = "../servo_arc"}
servo_config = {path = "../config"}
servo_url = {path = "../url"}
url = "1.2"
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs
index 32e730eede8..4fb8d28115f 100644
--- a/components/net_traits/lib.rs
+++ b/components/net_traits/lib.rs
@@ -17,6 +17,7 @@ extern crate ipc_channel;
extern crate msg;
extern crate num_traits;
#[macro_use] extern crate serde;
+extern crate servo_arc;
extern crate servo_config;
extern crate servo_url;
extern crate url;
diff --git a/components/net_traits/response.rs b/components/net_traits/response.rs
index 39cbc3f0dea..3e2b7d0ad33 100644
--- a/components/net_traits/response.rs
+++ b/components/net_traits/response.rs
@@ -8,8 +8,9 @@ use {FetchMetadata, FilteredMetadata, Metadata, NetworkError, ReferrerPolicy};
use hyper::header::{AccessControlExposeHeaders, ContentType, Headers};
use hyper::status::StatusCode;
use hyper_serde::Serde;
+use servo_arc::Arc;
use servo_url::ServoUrl;
-use std::sync::{Arc, Mutex};
+use std::sync::Mutex;
use std::sync::atomic::AtomicBool;
/// [Response type](https://fetch.spec.whatwg.org/#concept-response-type)