Skip to content

Commit

Permalink
Require serde_derive version to be the same as serde version
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dtolnay committed Nov 2, 2019
1 parent a2c83d7 commit 4eb5807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit 4eb5807

Please sign in to comment.