Skip to content

Commit

Permalink
chore(rust): default to rust native flate2 lib (#10733)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Aug 26, 2023
1 parent 3e84f29 commit 95d6d51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions crates/polars-io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bytes = { version = "1.3" }
chrono = { workspace = true, optional = true }
chrono-tz = { workspace = true, optional = true }
fast-float = { version = "0.2", optional = true }
flate2 = { version = "1", features = ["zlib-ng"], optional = true, default-features = false }
flate2 = { version = "1", optional = true, default-features = false }
futures = { workspace = true, optional = true }
lexical = { version = "6", optional = true, default-features = false, features = ["std", "parse-integers"] }
lexical-core = { version = "0.8", optional = true }
Expand All @@ -48,6 +48,7 @@ home = "0.5.4"
tempdir = "0.3.7"

[features]
default = ["decompress"]
# support for arrows json parsing
json = [
"arrow/io_json_write",
Expand All @@ -66,7 +67,7 @@ ipc_streaming = ["arrow/io_ipc", "arrow/io_ipc_compression"]
# support for arrow avro parsing
avro = ["arrow/io_avro", "arrow/io_avro_compression"]
csv = ["memmap", "lexical", "polars-core/rows", "lexical-core", "fast-float", "simdutf8"]
decompress = ["flate2/miniz_oxide"]
decompress = ["flate2/rust_backend"]
decompress-fast = ["flate2/zlib-ng"]
dtype-categorical = ["polars-core/dtype-categorical"]
dtype-date = ["polars-core/dtype-date", "polars-time/dtype-date"]
Expand Down
2 changes: 1 addition & 1 deletion py-polars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ nightly = ["polars/nightly"]
streaming = ["polars/streaming"]
meta = ["polars/meta"]
search_sorted = ["polars/search_sorted"]
decompress = ["polars/decompress"]
decompress = ["polars/decompress-fast"]
lazy_regex = ["polars/lazy_regex"]
csv = ["polars/csv"]
object = ["polars/object"]
Expand Down

0 comments on commit 95d6d51

Please sign in to comment.