Closed vi closed 9 years ago
Please look at the Cargo.toml for the direct dependencies: https://github.com/BurntSushi/quickcheck/blob/master/Cargo.toml#L16-L19 There is no winapi
.
Therefore, winapi
must be a dependency of one of quickcheck's dependencies.
In this case, it is a dependency of rand
.
winapi is an empty crate on all non-Windows platforms. The maintainers of some crates (rand, in this case) prefer to just unconditionally depend on it than to get into platform-specific dependencies. See this for more details. https://github.com/rust-lang-nursery/rand/pull/65