In Fedora we're packaging each crate and there are definitely circular dependencies in dev-dependencies (memchr -> quickcheck(dev) -> regex -> memchr), so we first need to build memchr, then regex, then quickcheck and then we can rebuild memchr with enabled cargo-test.
We override crates.io registry, but cargo-build still tries to find quickcheck:
+ /usr/bin/cargo build --release -j8
error: no matching package named `quickcheck` found (required by `memchr`)
location searched: registry https://github.com/rust-lang/crates.io-index
version required: ^0.4.1
But build doesn't really need that dependency to be present...
In Fedora we're packaging each crate and there are definitely circular dependencies in dev-dependencies (memchr -> quickcheck(dev) -> regex -> memchr), so we first need to build memchr, then regex, then quickcheck and then we can rebuild memchr with enabled cargo-test.
We override crates.io registry, but cargo-build still tries to find quickcheck:
But build doesn't really need that dependency to be present...