aboutsummaryrefslogtreecommitdiffstats
path: root/components/msg
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2016-04-26 18:21:08 +0200
committerSimon Sapin <simon.sapin@exyr.org>2016-04-26 23:51:36 +0200
commit83b3ebf6ac2589d5f632a82b95ee5c4f4f339dd4 (patch)
tree67e22e093a42e4d228ef35ab31776591f8cbdfc6 /components/msg
parenta44ebd5024ddd438e90f50aa9a2718a21cb75833 (diff)
downloadservo-83b3ebf6ac2589d5f632a82b95ee5c4f4f339dd4.tar.gz
servo-83b3ebf6ac2589d5f632a82b95ee5c4f4f339dd4.zip
Simplify TOML syntax
* Sections like `[dependencies.foo]` can be entries in a `[dependencies]` section with the `{key = value}` syntax. * Per-target dependencies can be expressed with more general `cfg(…)` conditions instead of exact target triples: https://github.com/rust-lang/cargo/pull/2328
Diffstat (limited to 'components/msg')
-rw-r--r--components/msg/Cargo.toml21
1 files changed, 5 insertions, 16 deletions
diff --git a/components/msg/Cargo.toml b/components/msg/Cargo.toml
index f44f461d94a..3a26b7d4afa 100644
--- a/components/msg/Cargo.toml
+++ b/components/msg/Cargo.toml
@@ -8,23 +8,12 @@ publish = false
name = "msg"
path = "lib.rs"
-[dependencies.util]
-path = "../util"
-
-[dependencies.layers]
-git = "https://github.com/servo/rust-layers"
-features = ["plugins"]
-
-[dependencies.ipc-channel]
-git = "https://github.com/servo/ipc-channel"
-
-[dependencies.plugins]
-path = "../plugins"
-
-[dependencies.webrender_traits]
-git = "https://github.com/servo/webrender_traits"
-
[dependencies]
+util = {path = "../util"}
+layers = {git = "https://github.com/servo/rust-layers", features = ["plugins"]}
+ipc-channel = {git = "https://github.com/servo/ipc-channel"}
+plugins = {path = "../plugins"}
+webrender_traits = {git = "https://github.com/servo/webrender_traits"}
bitflags = "0.3"
cssparser = {version = "0.5.4", features = ["heap_size", "serde-serialization"]}
euclid = {version = "0.6.4", features = ["plugins"]}