-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
pretty-env-logger = 0.2
fails to cargo doc
#5345
Comments
Thanks for the report! You can add crates to a registry in Cargo's test suite where it doesn't actually hit crates.io (search for usage of |
Merged
bors
added a commit
that referenced
this issue
Apr 17, 2018
Fix issue 5345 Fixes #5345. Also adds some docs and Debug impls.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is caused by a dependency on different versions of the same crate, depending on target. See rust issue 49002. I made a small project to reproduce the problem on github.
I need to work out 2 things
I don't know how to write a test without using crates.io, because trying to depend on 2 different versions using a local path is rejected:
Or maybe the manifest should fail to compile also for differing versions on crates.io?
The text was updated successfully, but these errors were encountered: