servo/components/script/Cargo.toml
Nicholas Nethercote 092507d23c Add a profile_traits crate to reduce compile times.
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and
only rebuilds `profile` and `servo`) which is much lower than it used to be.
In comparison, a rebuild after touching components/profile_traits/mem.rs takes
294 seconds and rebuilds many more crates.

This change also removes some unnecessary crate dependencies in `net` and
`net_traits`.
2015-04-30 17:58:47 -07:00

82 lines
1.4 KiB
TOML

[package]
name = "script"
version = "0.0.1"
authors = ["The Servo Project Developers"]
build = "build.rs"
[lib]
name = "script"
path = "lib.rs"
[features]
debugmozjs = ['js/debugmozjs']
[dependencies.plugins]
path = "../plugins"
[dependencies.util]
path = "../util"
[dependencies.msg]
path = "../msg"
[dependencies.net_traits]
path = "../net_traits"
[dependencies.profile_traits]
path = "../profile_traits"
[dependencies.script_traits]
path = "../script_traits"
[dependencies.devtools_traits]
path = "../devtools_traits"
[dependencies.style]
path = "../style"
[dependencies.gfx]
path = "../gfx"
[dependencies.canvas]
path = "../canvas"
[dependencies.webdriver_traits]
path = "../webdriver_traits"
[dependencies.cssparser]
git = "https://github.com/servo/rust-cssparser"
[dependencies.selectors]
git = "https://github.com/servo/rust-selectors"
[dependencies.geom]
git = "https://github.com/servo/rust-geom"
[dependencies.html5ever]
git = "https://github.com/servo/html5ever"
[dependencies.js]
git = "https://github.com/servo/rust-mozjs"
[dependencies.png]
git = "https://github.com/servo/rust-png"
[dependencies.uuid]
git = "https://github.com/rust-lang/uuid"
[dependencies.string_cache]
git = "https://github.com/servo/string-cache"
[dependencies.string_cache_plugin]
git = "https://github.com/servo/string-cache"
[dependencies]
encoding = "0.2"
url = "0.2.16"
time = "0.1.12"
bitflags = "*"
rustc-serialize = "*"
libc = "*"
hyper = "0.3"