-
-
Notifications
You must be signed in to change notification settings - Fork 476
Unable to build tokio-postgres 0.7.7 #956
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
Comments
Both of those imports definitely exist: https://docs.rs/futures-util/latest/src/futures_util/lib.rs.html#300. Are you sure you aren't using a patched version of futures-util? |
Not that I'm aware of. Here's my dependencies list:
I've tried commenting out every dependency except In case it helps, I'm using rustc 1.64.0, and I'm using the 2018 rust edition. Looking at the link you posted, does |
You could try deleting your Cargo cache to see if the source of the futures_util crate was modified or corrupted locally. |
I have now tried deleting my Cargo cache, and I am getting the same problem, when |
I cannot reproduce your issue locally. It is highly unlikely that anything needs to be fixed on crates.io. |
I've just hit this. The problem is that tokio-postgres says it depends on 0.3 of futures-util but in some 0.3.x versions (e.g. 0.3.13) it's not present. |
Setting the minimum to 0.3.14 seems to fix things though |
I'm using rust-postgres as a dependency for my project, and I'm getting the following error when I build my project.
There seems to be similar problems with the case of imports of Stream and Future in
I'd expect that a released crate would build so, what might I be doing wrong?
The text was updated successfully, but these errors were encountered: