diff --git a/.cargo/config.in b/.cargo/config.in index d60f3c36cc9c..7fa81e05b905 100644 --- a/.cargo/config.in +++ b/.cargo/config.in @@ -9,7 +9,7 @@ replace-with = 'vendored-sources' [source."https://github.com/gankro/serde"] git = "https://github.com/gankro/serde" -branch = "deserialize_from_enums3" +branch = "deserialize_from_enums4" replace-with = "vendored-sources" [source.vendored-sources] diff --git a/toolkit/library/gtest/rust/Cargo.toml b/toolkit/library/gtest/rust/Cargo.toml index b213e06a68cd..d5f2c2b2d295 100644 --- a/toolkit/library/gtest/rust/Cargo.toml +++ b/toolkit/library/gtest/rust/Cargo.toml @@ -47,5 +47,4 @@ panic = "abort" [patch.crates-io] libudev-sys = { path = "../../../../dom/webauthn/libudev-sys" } -serde = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums3" } -serde_derive = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums3", feature = "deserialize_from" } +serde_derive = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums4", feature = "deserialize_in_place" } diff --git a/toolkit/library/rust/Cargo.toml b/toolkit/library/rust/Cargo.toml index e9b4f48faa42..5b48dd98a911 100644 --- a/toolkit/library/rust/Cargo.toml +++ b/toolkit/library/rust/Cargo.toml @@ -48,5 +48,4 @@ panic = "abort" [patch.crates-io] libudev-sys = { path = "../../../dom/webauthn/libudev-sys" } -serde = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums3" } -serde_derive = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums3", feature = "deserialize_from" } +serde_derive = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums4", feature = "deserialize_in_place" }