Work around "failed to select a version for serde_test_suite"

Without this:

    error: failed to select a version for `serde_test_suite`.
        ... required by package `serde_test_suite-tests v0.0.0`
    versions that meet the requirements `= 0.0.0` are: 0.0.0

    the package `serde_test_suite-tests` depends on `serde_test_suite`, with features: `serde` but `serde_test_suite` does not have these features.

    failed to select a version for `serde_test_suite` which could resolve this conflict

Seems like a Cargo bug -- I will minimize and report.
This commit is contained in:
David Tolnay 2019-05-06 22:52:36 -07:00
parent 5cc3902ab9
commit 1e9ae88f53
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -8,6 +8,9 @@ publish = false
[features]
unstable = ["serde/unstable"]
[dependencies]
serde = { path = "../serde" }
[dev-dependencies]
fnv = "1.0"
rustc-serialize = "0.3.16"