servo/components/util/Cargo.toml
Corey Farwell 4f47b41fa7 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.
2015-06-10 07:14:55 -07:00

51 lines
1.2 KiB
TOML

[package]
name = "util"
version = "0.0.1"
authors = ["The Servo Project Developers"]
[lib]
name = "util"
path = "lib.rs"
# Disable doctests, because of linking issues with rustdoc. rustdoc compiles
# documentation tests with prefer-dynamic. This causes issues because rustc
# looks for -lazure, which does not exist (rust-azure is a dependency of
# rust-layers). This crate only has one documentation example anyway and it's
# imported from the rust-lang codebase.
# See https://github.com/rust-lang/rust/issues/21246
doctest = false
[dependencies.plugins]
path = "../plugins"
[dependencies.selectors]
git = "https://github.com/servo/rust-selectors"
[dependencies.azure]
git = "https://github.com/servo/rust-azure"
[dependencies.geom]
git = "https://github.com/servo/rust-geom"
[dependencies.layers]
git = "https://github.com/servo/rust-layers"
[dependencies.string_cache]
git = "https://github.com/servo/string-cache"
[dependencies.string_cache_plugin]
git = "https://github.com/servo/string-cache"
[dependencies]
log = "*"
bitflags = "*"
libc = "*"
rand = "*"
rustc-serialize = "0.3"
time = "0.1.12"
smallvec = "0.1"
num_cpus = "0.2.2"
cssparser = "0.3.1"
num = "0.1.24"
lazy_static = "0.1.10"
url = "*"