mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Improve mach clippy, add plugins to style/util
This commit is contained in:
parent
ed894777a1
commit
3ead9cc67b
8 changed files with 28 additions and 8 deletions
|
@ -11,7 +11,7 @@ path = "lib.rs"
|
|||
[features]
|
||||
# servo as opposed to geckolib
|
||||
servo = ["serde", "serde_macros", "backtrace", "ipc-channel", "app_units/plugins",
|
||||
"euclid/plugins", "euclid/unstable", "url/heap_size", "url/serde"]
|
||||
"euclid/plugins", "euclid/unstable", "url/heap_size", "url/serde", "plugins"]
|
||||
|
||||
[dependencies]
|
||||
app_units = "0.2.5"
|
||||
|
@ -28,6 +28,7 @@ rustc-serialize = "0.3"
|
|||
serde = {version = "0.7.11", optional = true}
|
||||
serde_macros = {version = "0.7.11", optional = true}
|
||||
url = "1.0.0"
|
||||
plugins = {path = "../plugins", optional = true}
|
||||
|
||||
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies]
|
||||
xdg = "2.0"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#![cfg_attr(feature = "servo", feature(plugin))]
|
||||
#![cfg_attr(feature = "servo", feature(reflect_marker))]
|
||||
#![cfg_attr(feature = "servo", plugin(serde_macros))]
|
||||
#![cfg_attr(feature = "servo", plugin(plugins))]
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue