1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
# Tests that paths in the 'patch' section are rewritten.
#
# This crate depends on the 'mutants' crate, but pulls it in from the
# tree of the cargo-mutants repo, rather than crates.io. If the path
# below wasn't fixed when copied to a scratch tree, the build would
# fail.
[package]
name = "cargo-mutants-testdata-patch-dependency"
version = "0.0.0"
edition = "2018"
authors = ["Martin Pool"]
publish = false
# This has to be a dependency that's published to crates.io.
[dependencies]
mutants = { version = "0" }
[patch.crates-io]
"mutants" = { path = "../../mutants_attrs" }
|