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

use of undeclared crate or module futures with polars 0.43.0 #18698

Closed
2 tasks done
ankane opened this issue Sep 11, 2024 · 0 comments · Fixed by #18701
Closed
2 tasks done

use of undeclared crate or module futures with polars 0.43.0 #18698

ankane opened this issue Sep 11, 2024 · 0 comments · Fixed by #18701
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars

Comments

@ankane
Copy link
Contributor

ankane commented Sep 11, 2024

Checks

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of Polars.

Reproducible example

Enable the following features in Cargo.toml:

[dependencies]
polars = { version = "0.43.0", features = ["lazy", "parquet", "streaming"] }

And try to compile any program.

Log output

Compiling polars-pipe v0.43.0
error[E0432]: unresolved import `futures`
 --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polars-pipe-0.43.0/src/executors/sources/parquet.rs:7:5
  |
7 | use futures::{StreamExt, TryStreamExt};
  |     ^^^^^^^ use of undeclared crate or module `futures`

For more information about this error, try `rustc --explain E0432`.

Issue description

It looks like the futures feature needs to be enabled with this combination of features.

Expected behavior

No error

Installed versions

See above

@ankane ankane added bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars labels Sep 11, 2024
@ankane ankane changed the title use of undeclared crate or module futures use of undeclared crate or module futures with polars 0.43.0 Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant