Cargo Features

[dependencies]
polars-io = { version = "0.39.2", default-features = false, features = ["json", "serde", "ipc", "ipc_streaming", "avro", "csv", "decompress", "decompress-fast", "dtype-u8", "dtype-u16", "dtype-i8", "dtype-i16", "dtype-categorical", "dtype-date", "object", "dtype-datetime", "timezones", "dtype-time", "dtype-struct", "dtype-decimal", "fmt", "lazy", "parquet", "async", "cloud", "aws", "azure", "gcp", "http", "partition", "temporal", "simd", "python"] }
default = decompress

The decompress feature is set by default whenever polars-io is added without default-features = false somewhere in the dependency tree.

json = atoi_simd, csv, dtype-struct, polars-json, serde_json, simd-json

support for arrows json parsing

Affects polars-io::json, polars-io::ndjson, polars-io::csv

serde cloud?

Enables serde, serde-lazy of polars-core

ipc

support for arrows ipc file parsing

Enables io_ipc and io_ipc_compression of polars-arrow

Affects polars-io::ipc

ipc_streaming

support for arrows streaming ipc file parsing

Enables io_ipc and io_ipc_compression of polars-arrow

Affects polars-io::ipc

avro

support for arrow avro parsing

Enables io_avro and io_avro_compression of polars-arrow

Affects polars-io::avro

csv json? = atoi_simd, fast-float, itoa, ryu, simdutf8

Enables rows of polars-core

polars-core:

opt-in features
create from row values
and include pivot operation

Affects polars-io::csv

decompress default = zstd

Enables rust_backend of flate2

decompress-fast = zstd

Enables zlib-ng of flate2

dtype-u8

Enables dtype-u8 of polars-core

dtype-u16

Enables dtype-u16 of polars-core

dtype-i8

Enables dtype-i8 of polars-core

dtype-i16

Enables dtype-i16 of polars-core

dtype-categorical

Enables dtype-categorical of polars-core

dtype-date temporal?

Enables dtype-date of polars-core and polars-time

polars-core:

opt-in datatypes for Series

object

Enables object of polars-core

polars-core:

support for ObjectChunked<T> (downcastable Series of any type)

dtype-datetime temporal? timezones? = chrono

Enables dtype-datetime and temporal of polars-core, dtype-datetime of polars-time

timezones = chrono-tz, dtype-datetime

Enables timezones of polars-arrow

polars-arrow:

polars-arrow

dtype-time temporal?

Enables dtype-time and temporal of polars-core, dtype-time of polars-time

dtype-struct json?

Enables dtype-struct of polars-core

dtype-decimal

Enables dtype-decimal of polars-core

fmt

Enables fmt of polars-core

lazy
parquet = polars-parquet

Enables compression of polars-parquet

Affects polars-io::export, polars-io::parquet, predicates::apply_predicate

async cloud? = async-trait, futures, tokio, tokio-util

Enables io_ipc_write_async of polars-arrow, regex of polars-error, async of optional polars-parquet

Affects polars-io::pl_async, read_impl::BatchedParquetIter

cloud aws? azure? gcp? http? = async, object_store, serde, serde_json, url

Enables object_store of polars-error

Affects read::ParquetAsyncReader

aws = cloud, reqwest

Enables aws of object_store ^0.9

azure = cloud

Enables azure of object_store ^0.9

gcp = cloud

Enables gcp of object_store ^0.9

http = cloud

Enables http of object_store ^0.9

partition

Enables partition_by of polars-core

Affects polars-io::partition

temporal = dtype-date, dtype-datetime, dtype-time
simd
python

Enables python of polars-error

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

polars-json json?
polars-parquet parquet?
polars-time dtype-date? dtype-datetime? dtype-time?
async-trait async?
atoi_simd csv? json?
chrono dtype-datetime?
chrono-tz timezones?

Enables chrono-tz ^0.8.1

fast-float csv?
flate2 decompress decompress-fast?
futures async?
itoa csv?
object_store aws? azure? cloud? gcp? http?

Enables object_store ^0.9

reqwest aws?

Enables reqwest ^0.11

ryu csv?
serde_json cloud? json?
simd-json json?
simdutf8 csv?
tokio async?
tokio-util async?
url cloud?
zstd decompress decompress-fast?