Merge pull request 2588 from soqb:use-impossible-cfg-to-lockstep-serde-derive

This commit is contained in:
David Tolnay 2023-08-23 16:16:43 -07:00
commit c0f70428ba
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

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 #################################################################