Skip to content

Commit

Permalink
build: enable 'derive' feature of 'serde' crate
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Aug 23, 2019
1 parent 0809b06 commit 47c2163
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions build_extra/rust/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1153,8 +1153,17 @@ rust_rlib("serde") {
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.99/src/lib.rs"
features = [
"default",
"derive",
"serde_derive",
"std",
]
extern = [
{
label = ":serde_derive"
crate_type = "proc_macro"
crate_name = "serde_derive"
},
]

# Added by custom-build script.
cfg = [
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ regex = "1.2.1"
remove_dir_all = "0.5.2"
ring = "~0.14.6"
rustyline = "5.0.2"
serde = "1.0.99"
serde = { version = "1.0.99", features = ["derive"] }
serde_derive = "1.0.99"
serde_json = { version = "1.0.40", features = [ "preserve_order" ] }
source-map-mappings = "0.5.0"
Expand Down

0 comments on commit 47c2163

Please sign in to comment.