Keep arrow2 out of basic --workspace build (#10178)

Same logic as in #9971

Prevents building the heavy polars and arrow dependencies when just
running `cargo test --workspace` or `rust-analyzer`

`polars-io` dependency was introduced in #10019
This commit is contained in:
Stefan Holderbach 2023-08-31 23:10:11 +02:00 committed by GitHub
parent 93f20b406e
commit 5b4b4446b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ indexmap = { version = "2.0" }
num = { version = "0.4", optional = true }
serde = { version = "1.0", features = ["derive"] }
sqlparser = { version = "0.36.1", optional = true }
polars-io = { version = "0.32", features = ["avro"] }
polars-io = { version = "0.32", features = ["avro"], optional = true }
[dependencies.polars]
features = [
@ -57,7 +57,7 @@ optional = true
version = "0.32"
[features]
dataframe = ["num", "polars", "sqlparser"]
dataframe = ["num", "polars", "polars-io", "sqlparser"]
default = []
[dev-dependencies]