mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove explicit dependencies on serde_derive
This commit is contained in:
parent
76d8573393
commit
605ef8b7ec
42 changed files with 27 additions and 96 deletions
|
@ -18,7 +18,7 @@ doctest = false
|
|||
[features]
|
||||
gecko = ["nsstring_vendor", "num_cpus", "style_traits/gecko"]
|
||||
use_bindgen = ["bindgen", "regex", "toml"]
|
||||
servo = ["serde", "serde_derive", "heapsize", "heapsize_derive",
|
||||
servo = ["serde", "heapsize", "heapsize_derive",
|
||||
"style_traits/servo", "servo_atoms", "servo_config", "html5ever",
|
||||
"cssparser/heapsize", "cssparser/serde", "encoding", "smallvec/heapsizeof",
|
||||
|
||||
|
@ -60,8 +60,7 @@ precomputed-hash = "0.1"
|
|||
rayon = "0.8"
|
||||
selectors = { path = "../selectors" }
|
||||
servo_arc = { path = "../servo_arc" }
|
||||
serde = {version = "1.0", optional = true}
|
||||
serde_derive = {version = "1.0", optional = true}
|
||||
serde = {version = "1.0", optional = true, features = ["derive"]}
|
||||
servo_atoms = {path = "../atoms", optional = true}
|
||||
servo_config = {path = "../config", optional = true}
|
||||
smallvec = "0.4"
|
||||
|
|
|
@ -72,7 +72,7 @@ extern crate pdqsort;
|
|||
#[cfg(feature = "gecko")] extern crate precomputed_hash;
|
||||
extern crate rayon;
|
||||
extern crate selectors;
|
||||
#[cfg(feature = "servo")] #[macro_use] extern crate serde_derive;
|
||||
#[cfg(feature = "servo")] #[macro_use] extern crate serde;
|
||||
pub extern crate servo_arc;
|
||||
#[cfg(feature = "servo")] #[macro_use] extern crate servo_atoms;
|
||||
#[cfg(feature = "servo")] extern crate servo_config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue