Bug 1447998 - Update serde patching to go with WR PR 2577. r?jrmuizel
MozReview-Commit-ID: FIoM86Ok8zP
--- 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" }