Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quickcheck depends on WinAPI? #97

Closed
vi opened this issue Sep 27, 2015 · 2 comments
Closed

quickcheck depends on WinAPI? #97

vi opened this issue Sep 27, 2015 · 2 comments

Comments

@vi
Copy link
Contributor

vi commented Sep 27, 2015

 Downloading rand v0.3.11 (reasonable - quickcheck is a randomized test)
 Downloading log v0.3.2 (reasonable - it's omnipresent)
 Downloading winapi v0.2.4 ( ??? )
 Downloading quickcheck v0.2.24
@BurntSushi
Copy link
Owner

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.

@tomjakubowski
Copy link
Contributor

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. rust-random/rand#65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants