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,15 +8,9 @@ name = "util_tests"
path = "lib.rs"
doctest = false
[dependencies.util]
path = "../../../components/util"
[dependencies.plugins]
path = "../../../components/plugins"
[dependencies]
util = {path = "../../../components/util"}
plugins = {path = "../../../components/plugins"}
app_units = {version = "0.2.3", features = ["plugins"]}
euclid = {version = "0.6.4", features = ["plugins"]}
libc = "0.2"