guarantee serde is in lockstep with serde_derive

This commit is contained in:
soqb
2023-08-21 00:53:22 +01:00
parent 3c7dd6fc1e
commit 2ea7e1300f
7 changed files with 149 additions and 0 deletions
+4
View File
@@ -31,6 +31,10 @@ features = ["derive"]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]
# Even though this `cfg` can never be enabled, it still forces cargo to keep `serde_derive` in lockstep with `serde`.
[target.'cfg(any())'.dependencies]
serde_derive = { version = "=1.0.185", path = "../serde_derive" }
### FEATURES #################################################################