mirror of
https://gitee.com/openharmony/third_party_rust_serde
synced 2024-11-27 09:01:43 +00:00
Require serde_derive version to be the same as serde version
Without this, Cargo could combine new serde_derive with old serde resulting in generated code that refers to types that don't exist yet in the serde version.
This commit is contained in:
parent
a2c83d754b
commit
4eb580790d
@ -18,7 +18,7 @@ travis-ci = { repository = "serde-rs/serde" }
|
||||
appveyor = { repository = "serde-rs/serde" }
|
||||
|
||||
[dependencies]
|
||||
serde_derive = { version = "1.0.102", optional = true, path = "../serde_derive" }
|
||||
serde_derive = { version = "=1.0.102", optional = true, path = "../serde_derive" }
|
||||
|
||||
[dev-dependencies]
|
||||
serde_derive = { version = "1.0", path = "../serde_derive" }
|
||||
|
Loading…
Reference in New Issue
Block a user