mirror of
https://github.com/servo/servo.git
synced 2025-08-31 18:18:21 +01:00
Use [patch] instead of [replace]
CC https://github.com/servo/webrender/pull/2215 Also, `[replace]` prevented using `[patch]` for other crates. (Cargo forbids using both.)
This commit is contained in:
parent
f175649263
commit
9eee610c39
2 changed files with 50 additions and 65 deletions
|
@ -23,11 +23,10 @@ opt-level = 3
|
|||
# debug = true
|
||||
# lto = false
|
||||
|
||||
[replace]
|
||||
"serde:1.0.23" = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums3" }
|
||||
"serde_derive:1.0.23" = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums3", feature="deserialize_from" }
|
||||
[patch.crates-io]
|
||||
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" }
|
||||
|
||||
#[patch.crates-io]
|
||||
# If you need to temporarily test Servo with a local fork of some upstream
|
||||
# crate, add that here. Use the form:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue