Cargo Features

[dependencies]
polars-io = { version = "0.44.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", "file_cache", "aws", "azure", "gcp", "http", "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, simd-json

support for arrows json parsing

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

serde cloud?

Enables serde, serde-lazy of polars-core, serde of polars-parquet and polars-utils

ipc

support for arrows ipc file parsing

Enables io_ipc and io_ipc_compression of polars-arrow

Affects polars-io::ipc, predicates::apply_predicate

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

Affects buffer::CategoricalField

dtype-date temporal?

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

polars-core:

opt-in datatypes for Series

Affects buffer::DatetimeField

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

Affects buffer::DatetimeField

timezones = chrono-tz, dtype-datetime

Enables chrono-tz and timezones of optional polars-json and 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 and optional polars-json

fmt

Enables fmt of polars-core

lazy
parquet = polars-parquet

Enables partition_by of polars-core, compression of polars-parquet

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

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

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

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

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

Enables object_store of polars-error

Affects cloud::credential_provider, reader::ParquetAsyncReader, utils::byte_source

file_cache cloud? = async, cloud, serde_json

Enables blake3 and fs4 ^0.9

Affects options::CloudOptions.file_cache_ttl, polars-io::file_cache

aws = cloud, reqwest

Enables aws of object_store ^0.10

Affects credential_provider::IntoCredentialProvider.into_aws_provider

azure = cloud

Enables azure of object_store ^0.10

Affects credential_provider::IntoCredentialProvider.into_azure_provider

gcp = cloud

Enables gcp of object_store ^0.10

Affects credential_provider::IntoCredentialProvider.into_gcp_provider

http cloud? = cloud

Enables http of object_store ^0.10

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

Enables python of polars-error and polars-utils

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? serde?
polars-time dtype-date? dtype-datetime? dtype-time?
async-trait async?
atoi_simd csv? json?

Enables atoi_simd ^0.15.5

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.10

pyo3 python?

Enables pyo3 ^0.21

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