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
This commit is contained in:
Simon Sapin 2016-04-26 18:21:08 +02:00
parent a44ebd5024
commit 83b3ebf6ac
36 changed files with 285 additions and 898 deletions

View file

@ -8,27 +8,13 @@ publish = false
name = "canvas_traits"
path = "lib.rs"
[dependencies.gfx_traits]
path = "../gfx_traits"
[dependencies.azure]
git = "https://github.com/servo/rust-azure"
features = ["plugins"]
[dependencies.ipc-channel]
git = "https://github.com/servo/ipc-channel"
[dependencies.serde]
version = "0.7"
features = [ "nightly" ]
[dependencies.plugins]
path = "../plugins"
[dependencies.webrender_traits]
git = "https://github.com/servo/webrender_traits"
[dependencies]
gfx_traits = {path = "../gfx_traits"}
azure = {git = "https://github.com/servo/rust-azure", features = ["plugins"]}
ipc-channel = {git = "https://github.com/servo/ipc-channel"}
serde = {version = "0.7", features = [ "nightly" ]}
plugins = {path = "../plugins"}
webrender_traits = {git = "https://github.com/servo/webrender_traits"}
cssparser = {version = "0.5.4", features = ["heap_size", "serde-serialization"]}
euclid = {version = "0.6.4", features = ["plugins"]}
heapsize = "0.3.0"