Cargo Features
[dependencies]
polars-io = { version = "0.53.0", default-features = false, features = ["catalog", "json", "scan_lines", "serde", "dsl-schema", "ipc", "ipc_streaming", "avro", "csv", "decompress", "dtype-u8", "dtype-u16", "dtype-u128", "dtype-i8", "dtype-i16", "dtype-i128", "dtype-f16", "dtype-categorical", "dtype-date", "dtype-extension", "object", "dtype-datetime", "timezones", "dtype-time", "dtype-duration", "dtype-struct", "dtype-decimal", "fmt", "lazy", "parquet", "async", "cloud", "file_cache", "aws", "azure", "gcp", "http", "temporal", "simd", "python", "allow_unused"] }
- default = decompress
-
The
decompressfeature is set by default wheneverpolars-iois added withoutsomewhere in the dependency tree.default-features = false - catalog = chrono, cloud, futures, reqwest, serde, strum, strum_macros
-
Affects
polars-io::catalog… - 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… - scan_lines
-
Affects
polars-io::scan_lines… - serde catalog? cloud?
-
Enables serde, serde of polars-buffer, serde-lazy of polars-core, serde of polars-parquet and polars-utils
- dsl-schema
-
Enables schemars ^0.9.0, dsl-schema of polars-core, 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,other::apply_projection,other::columns_to_projection… - ipc_streaming
-
support for arrows streaming ipc file parsing
Enables io_ipc and io_ipc_compression of polars-arrow
Affects
polars-io::ipc,other::apply_projection,other::columns_to_projection… - avro
-
support for arrow avro parsing
Enables io_avro and io_avro_compression of polars-arrow
Affects
polars-io::avro,other::apply_projection,other::columns_to_projection… - csv json? = atoi_simd, fast-float2, itoa, simdutf8, zmij
-
Enables rows of polars-core
polars-core:
opt-in features
create from row values
and include pivot operationAffects
polars-io::csv… - decompress default = zstd
-
flate2:
Use the zlib-rs backend, a pure Rust rewrite of zlib. This is the fastest backend overall, providing excellent performance with some
unsafecode. It does not require a C compiler but usesunsafeRust for optimization. zlib-rs uses its own crc32 implementation. - dtype-u8
-
Enables dtype-u8 of polars-core
- dtype-u16
-
Enables dtype-u16 of polars-core
- dtype-u128
-
Enables dtype-u128 of polars-core
- dtype-i8
-
Enables dtype-i8 of polars-core
- dtype-i16
-
Enables dtype-i16 of polars-core
- dtype-i128
-
Enables dtype-i128 of polars-core
- dtype-f16
-
Enables dtype-f16 of polars-core
- dtype-categorical
-
Enables dtype-categorical of polars-core
Affects
builder::CategoricalField… - dtype-date temporal?
-
Enables dtype-date of polars-core and polars-time
polars-core:
opt-in datatypes for Series
Affects
builder::DatetimeField… - dtype-extension
-
Enables dtype-extension of polars-core
- 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
builder::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-duration
-
Enables dtype-duration of polars-core and polars-time
- dtype-struct json?
-
Enables dtype-struct of polars-core
- dtype-decimal
-
Enables dtype-decimal of polars-core and optional polars-json
Affects
builder::DecimalField… - fmt
-
Enables fmt of polars-core
- lazy
- parquet = polars-parquet
-
Enables partition_by of polars-core, compression of polars-parquet
Affects
polars-io::parquet,predicates::apply_predicate,other::apply_projection,other::columns_to_projection… - async cloud? file_cache? = async-trait, futures, tokio
-
Enables regex of polars-error, async of optional polars-parquet
Affects
polars-io::pl_async,utils::byte_source… - cloud aws? azure? catalog? file_cache? gcp? http? = async, file_cache, http, object_store, reqwest, serde, serde_json
-
Enables object_store of polars-error
Affects
cloud::credential_provider,byte_source::ObjectStoreByteSource,other::decode_json_response,utils::byte_source… - file_cache cloud? = async, cloud, serde_json
-
Affects
options::CloudOptions.file_cache_ttl,polars-io::file_cache… - aws = cloud, reqwest
-
Enables aws of object_store
Affects
credential_provider::IntoCredentialProvider.into_aws_provider… - azure = cloud
-
Enables azure of object_store
Affects
credential_provider::IntoCredentialProvider.into_azure_provider… - gcp = cloud
-
Enables gcp of object_store
Affects
credential_provider::IntoCredentialProvider.into_gcp_provider… - http cloud? = cloud
-
Enables http of object_store
- temporal = dtype-date, dtype-datetime, dtype-time
- simd
- python = pyo3
-
Enables python of polars-error and polars-utils
- allow_unused
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 dsl-schema? parquet? serde?
- polars-time dtype-date? dtype-datetime? dtype-duration? dtype-time?
- async-trait async?
- atoi_simd csv? json?
-
Enables atoi_simd ^0.17
- chrono catalog? dtype-datetime?
-
Enables chrono <=0.4.41
- chrono-tz timezones?
- fast-float2 csv?
- flate2 decompress
- futures async? catalog?
- itoa csv?
- object_store aws? azure? cloud? gcp? http?
- pyo3 python?
-
Enables pyo3 ^0.27
- reqwest aws? catalog? cloud?
-
Enables reqwest ^0.12
- serde_json cloud? file_cache?
- simd-json json?
- simdutf8 csv?
- strum catalog?
-
Enables strum ^0.27
- strum_macros catalog?
-
Enables strum_macros ^0.27
- tokio async?
-
Affects
mkdir::tokio_mkdir_recursive… - zmij csv?
- zstd decompress