diff --git a/Cargo.toml b/Cargo.toml index aa60d88..6f1afc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "dr" description = "Command-line data file processing in Rust" -version = "0.4.2" +version = "0.5.0" edition = "2021" include = [ "**/*.rs", @@ -14,4 +14,5 @@ repository = "https://git.guillemborrell.es/guillem/dr" [dependencies] clap = {version = "4.0", features = ["cargo"]} -polars = {"version" = "0.25", features = ["sql", "lazy", "parquet", "decompress", "ipc", "ipc_streaming", "docs-selection"]} +polars-lazy = {"version" = "0.26"} +polars = {"version" = "0.26", features = ["sql", "lazy", "parquet", "decompress", "ipc", "ipc_streaming", "docs-selection"]} diff --git a/src/sql.rs b/src/sql.rs index e908ad8..4060642 100644 --- a/src/sql.rs +++ b/src/sql.rs @@ -1,4 +1,4 @@ -use polars::prelude::LazyFrame; +use polars_lazy::lazy::LazyFrame; use polars::sql::SQLContext; pub fn execute(ldf: LazyFrame, statement: &String) -> LazyFrame {