mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove fnv & smallvec crate reexports from util
The util component specified fnv and smallvec as dependencies and publicly reexported both of them. Several other components utilized these reexports, presumably because fnv and smallvec used to live in the tree so reexporting made the transition easier. These indirect dependencies through the util component are unnecessary. This commit removes the fnv & smallvec crate reexports in the util component. It exchange, it adds fnv & smallvec as dependencies to non-util components wherever needed. Finally, it removes the fnv dependency from util as it is not utilized anywhere in the util component.
This commit is contained in:
parent
44a4b7886d
commit
4f47b41fa7
29 changed files with 58 additions and 30 deletions
|
@ -45,7 +45,6 @@ rustc-serialize = "0.3"
|
|||
time = "0.1.12"
|
||||
smallvec = "0.1"
|
||||
num_cpus = "0.2.2"
|
||||
fnv = "1.0"
|
||||
cssparser = "0.3.1"
|
||||
num = "0.1.24"
|
||||
lazy_static = "0.1.10"
|
||||
|
|
|
@ -24,7 +24,6 @@ extern crate azure;
|
|||
extern crate alloc;
|
||||
#[macro_use] extern crate bitflags;
|
||||
#[macro_use] extern crate cssparser;
|
||||
extern crate fnv as fnv_;
|
||||
extern crate geom;
|
||||
extern crate getopts;
|
||||
extern crate layers;
|
||||
|
@ -34,15 +33,12 @@ extern crate num_cpus;
|
|||
extern crate rand;
|
||||
extern crate rustc_serialize;
|
||||
extern crate selectors;
|
||||
extern crate smallvec as smallvec_;
|
||||
extern crate smallvec;
|
||||
extern crate string_cache;
|
||||
extern crate url;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
pub use fnv_ as fnv;
|
||||
pub use smallvec_ as smallvec;
|
||||
|
||||
pub mod bezier;
|
||||
pub mod cache;
|
||||
pub mod cursor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue