1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

build: enable 'derive' feature of 'serde' crate

This commit is contained in:
Bert Belder 2019-08-22 17:27:51 -07:00
parent 0809b06a39
commit 47c216317f
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
3 changed files with 13 additions and 1 deletions

3
Cargo.lock generated
View file

@ -1021,6 +1021,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
name = "serde" name = "serde"
version = "1.0.99" version = "1.0.99"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"serde_derive 1.0.99 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"

View file

@ -1153,8 +1153,17 @@ rust_rlib("serde") {
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.99/src/lib.rs" source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.99/src/lib.rs"
features = [ features = [
"default", "default",
"derive",
"serde_derive",
"std", "std",
] ]
extern = [
{
label = ":serde_derive"
crate_type = "proc_macro"
crate_name = "serde_derive"
},
]
# Added by custom-build script. # Added by custom-build script.
cfg = [ cfg = [

View file

@ -37,7 +37,7 @@ regex = "1.2.1"
remove_dir_all = "0.5.2" remove_dir_all = "0.5.2"
ring = "~0.14.6" ring = "~0.14.6"
rustyline = "5.0.2" rustyline = "5.0.2"
serde = "1.0.99" serde = { version = "1.0.99", features = ["derive"] }
serde_derive = "1.0.99" serde_derive = "1.0.99"
serde_json = { version = "1.0.40", features = [ "preserve_order" ] } serde_json = { version = "1.0.40", features = [ "preserve_order" ] }
source-map-mappings = "0.5.0" source-map-mappings = "0.5.0"