Bug 1447998 - Update serde patching to go with WR PR 2577. r?jrmuizel draft
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 28 Mar 2018 09:11:53 -0400
changeset 773789 cb665f53ba56fced7a4053de9447ee55d5522d9d
parent 773788 66f64cdc15147f019b2ccdaaca53f899bf0a7fb6
child 773790 2c5ca1d6f4fc74431d0505232e8fcc1ca038aab8
push id104304
push userkgupta@mozilla.com
push dateWed, 28 Mar 2018 13:14:35 +0000
reviewersjrmuizel
bugs1447998
milestone61.0a1
Bug 1447998 - Update serde patching to go with WR PR 2577. r?jrmuizel MozReview-Commit-ID: FIoM86Ok8zP
.cargo/config.in
Cargo.toml
--- a/.cargo/config.in
+++ b/.cargo/config.in
@@ -2,17 +2,17 @@
 # you will also need to fix the sed commands in:
 # taskcluster/scripts/builder/build-sm-mozjs-crate.sh
 # taskcluster/scripts/builder/build-sm-rust-bindings.sh
 
 [source.crates-io]
 registry = 'https://github.com/rust-lang/crates.io-index'
 replace-with = 'vendored-sources'
 
-[source."https://github.com/gankro/serde"]
-git = "https://github.com/gankro/serde"
-branch = "deserialize_from_enums4"
+[source."https://github.com/servo/serde"]
+git = "https://github.com/servo/serde"
+branch = "deserialize_from_enums5"
 replace-with = "vendored-sources"
 
 [source.vendored-sources]
 directory = '@top_srcdir@/third_party/rust'
 
 @WIN64_CARGO_LINKER_CONFIG@
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -53,9 +53,9 @@ panic = "abort"
 opt-level = 2
 rpath = false
 debug-assertions = false
 panic = "abort"
 codegen-units = 1
 
 [patch.crates-io]
 libudev-sys = { path = "dom/webauthn/libudev-sys" }
-serde_derive = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums4" }
+serde_derive = { git = "https://github.com/servo/serde", branch = "deserialize_from_enums5" }