mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
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:
parent
a44ebd5024
commit
83b3ebf6ac
36 changed files with 285 additions and 898 deletions
|
@ -8,17 +8,9 @@ name = "script_tests"
|
|||
path = "lib.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies.msg]
|
||||
path = "../../../components/msg"
|
||||
|
||||
[dependencies.plugins]
|
||||
path = "../../../components/plugins"
|
||||
|
||||
[dependencies.script]
|
||||
path = "../../../components/script"
|
||||
|
||||
[dependencies.util]
|
||||
path = "../../../components/util"
|
||||
|
||||
[dependencies]
|
||||
msg = {path = "../../../components/msg"}
|
||||
plugins = {path = "../../../components/plugins"}
|
||||
script = {path = "../../../components/script"}
|
||||
util = {path = "../../../components/util"}
|
||||
url = {version = "1.0.0", features = ["heap_size"]}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue