You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The top-level re-export doesn't become available until futures_util 0.3.17. If you're supporting older versions, then I think this needs to be refactored! :)
Other details
It looks like there's a nightly feature of cargo that can be used to update the lock file to the. minimal versions of dependencies as defined in Cargo.toml so you can guarantee that your project compiles and tests successfully with those versions. I think it also impacts other crates, so may be a bit difficult to use.
cargo +nightly -Z minimal-versions update
cargo test --all --all-features
Expected Behavior
I can compile
async-graphql
version 4.0.1.Actual Behavior
Steps to Reproduce the Problem
It looks like you have an import of
futures_util::Stream
instead offutures_util::stream::Stream
here: https://github.com/async-graphql/async-graphql/blob/master/src/types/merged_object.rs#L6The top-level re-export doesn't become available until futures_util
0.3.17
. If you're supporting older versions, then I think this needs to be refactored! :)Other details
It looks like there's a nightly feature of cargo that can be used to update the lock file to the. minimal versions of dependencies as defined in
Cargo.toml
so you can guarantee that your project compiles and tests successfully with those versions. I think it also impacts other crates, so may be a bit difficult to use.cargo +nightly -Z minimal-versions update cargo test --all --all-features
https://users.rust-lang.org/t/psa-please-specify-precise-dependency-versions-in-cargo-toml/71277
Specifications
The text was updated successfully, but these errors were encountered: