Cargo Features

polars-arrow has no features set by default.

[dependencies]
polars-arrow = { version = "0.45.1", features = ["full", "io_ipc", "io_ipc_compression", "io_flight", "io_avro", "io_avro_compression", "io_avro_async", "compute_aggregate", "compute_arithmetics_decimal", "compute_arithmetics", "compute_bitwise", "compute_boolean", "compute_boolean_kleene", "compute_comparison", "compute_hash", "compute_take", "compute_temporal", "compute", "serde", "simd", "timezones", "dtype-array", "dtype-decimal", "bigidx", "nightly", "performant", "strings", "temporal", "atoi_simd", "fast-float2", "itoa", "ryu", "regex", "indexmap", "hex"] }
full = chrono-tz, compute, io_avro, io_avro_async, io_avro_compression, io_flight, io_ipc, io_ipc_compression, regex-syntax, serde
io_ipc full? io_flight? io_ipc_compression? = arrow-format

Enables arrow-format of polars-error

Affects io::ipc, polars-arrow::mmap

io_ipc_compression full? = io_ipc, lz4, zstd

Affects compression::decompress_lz4, compression::decompress_zstd, compression::compress_lz4, compression::compress_zstd

io_flight full? = async-stream, futures, io_ipc, tokio

Enables flight-data of polars-arrow-format

io_avro full? = avro-schema

Enables avro-schema of polars-error

Affects io::avro

io_avro_compression full?

Enables compression of avro-schema

avro support

io_avro_async full?

Enables async of avro-schema

compute_aggregate compute? = multiversion

the compute kernels. Disabling this significantly reduces compile time.

Affects compute::aggregate

compute_arithmetics_decimal compute_arithmetics? = strength_reduce
compute_arithmetics compute? = compute_arithmetics_decimal, strength_reduce
compute_bitwise compute?

Affects compute::bitwise

compute_boolean compute? compute_comparison?

Affects compute::boolean

compute_boolean_kleene compute?

Affects compute::boolean_kleene

compute_comparison compute? = compute_boolean, compute_take
compute_hash compute? = multiversion
compute_take compute? compute_comparison?

Affects compute::take, kernels::fixed_size_list, kernels::list

compute_temporal compute?

Affects compute::temporal

compute full? = compute_aggregate, compute_arithmetics, compute_bitwise, compute_boolean, compute_boolean_kleene, compute_comparison, compute_hash, compute_take, compute_temporal
serde full?

Enables serde, serde of polars-schema and polars-utils

simd
timezones = chrono-tz

polars-arrow

Affects time::convert_to_naive_local, time::convert_to_naive_local_opt

dtype-array

Affects array::fixed_size_list

dtype-decimal = atoi, itoap

Affects compute::decimal

bigidx

Enables bigidx of polars-utils

Affects datatypes::IdxArr

nightly
performant

Affects kernels::sorted_join

strings

Affects kernels::string

temporal

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.

atoi dtype-decimal?
chrono-tz full? timezones?

Enables chrono-tz

for timezone support

Affects temporal_conversions::parse_offset_tz

atoi_simd implicit feature

Enables atoi_simd

To efficiently cast numbers to strings

fast-float2 implicit feature

Enables fast-float2

fast-float2:

Fast floating-point number parser

itoa implicit feature

Enables itoa

itoa:

Fast integer primitive to string conversion

itoap dtype-decimal?
ryu implicit feature

Enables ryu

ryu:

Fast floating point to string conversion

regex implicit feature
regex-syntax full?
indexmap implicit feature

Enables indexmap

indexmap:

A hash table with consistent order and fast iteration

arrow-format io_flight? io_ipc?

Enables polars-arrow-format

hex implicit feature

Enables hex

hex:

Encoding and decoding data into/from hexadecimal representation

lz4 io_ipc_compression?

Enables lz4

for IPC compression

zstd io_ipc_compression?
futures io_flight?

Enables futures

to write to parquet as a stream

avro-schema io_avro? io_avro_async? io_avro_compression?
strength_reduce compute_arithmetics? compute_arithmetics_decimal?

Enables strength_reduce

for division/remainder optimization at runtime

multiversion compute_aggregate? compute_hash?

Enables multiversion ^0.7

For instruction multiversioning

async-stream io_flight?

Enables async-stream

For async arrow flight conversion

tokio io_flight?

Enables tokio

used to test async readers