mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Audit and reduce unstable usage in net
Reasons behind existing unstable features: std_misc: - `Handle` usage (API will be replaced and is perhaps broken) path_ext: - Checking if a file exists. This is doable from the File directly, but slightly longer core: - `FnBox` alloc: - `boxed::into_raw()` (naming)
This commit is contained in:
parent
86add71b4c
commit
c73eaefc47
2 changed files with 1 additions and 2 deletions
|
@ -2,11 +2,11 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use collections::borrow::ToOwned;
|
||||
use net_traits::image::base::{Image, load_from_memory};
|
||||
use net_traits::image_cache_task::{ImageState, ImageCacheTask, ImageCacheChan, ImageCacheCommand};
|
||||
use net_traits::image_cache_task::{ImageCacheResult, ImageResponse, UsePlaceholder};
|
||||
use net_traits::load_whole_resource;
|
||||
use std::borrow::ToOwned;
|
||||
use std::collections::HashMap;
|
||||
use std::collections::hash_map::Entry::{Occupied, Vacant};
|
||||
use std::mem;
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
extern crate net_traits;
|
||||
extern crate cookie as cookie_rs;
|
||||
extern crate devtools_traits;
|
||||
extern crate collections;
|
||||
extern crate flate2;
|
||||
extern crate geom;
|
||||
extern crate hyper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue