Cargo Features

polars-arrow has no features set by default.

[dependencies]
polars-arrow = { version = "0.39.2", features = ["full", "arrow_rs", "io_ipc", "io_ipc_write_async", "io_ipc_read_async", "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_cast", "compute_comparison", "compute_hash", "compute_take", "compute_temporal", "compute", "simd", "timezones", "dtype-array", "dtype-decimal", "bigidx", "nightly", "performant", "strings", "temporal", "serde", "regex", "indexmap", "hex"] }
full = arrow_rs, chrono-tz, compute, io_avro, io_avro_async, io_avro_compression, io_flight, io_ipc, io_ipc_compression, io_ipc_read_async, io_ipc_write_async, regex-syntax
arrow_rs full? = arrow-array, arrow-buffer, arrow-data, arrow-schema

Affects array::Arrow2Arrow, array::to_data, array::from_data

io_ipc full? io_flight? io_ipc_compression? io_ipc_read_async? io_ipc_write_async? = arrow-format

Enables arrow-format of polars-error

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

io_ipc_write_async full? = futures, io_ipc

Affects write::stream_async, write::file_async

io_ipc_read_async full? = async-stream, futures, io_ipc

Affects read::stream_async, read::file_async

io_ipc_compression full? = io_ipc, lz4, zstd

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

io_flight full? = io_ipc

Enables flight-data of polars-arrow-format

Affects io::flight

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_cast compute? = atoi_simd, compute_take, fast-float, itoa, ryu

Affects compute::cast

compute_comparison compute? = compute_boolean, compute_take
compute_hash compute? = multiversion
compute_take compute? compute_cast? 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_cast, compute_comparison, compute_hash, compute_take, compute_temporal
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 binview_to::binview_to_decimal, compute::decimal

bigidx

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 ^0.8.1

for timezone support

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

atoi_simd compute_cast?

Enables atoi_simd

To efficiently cast numbers to strings

fast-float compute_cast?
itoa compute_cast?
itoap dtype-decimal?
ryu compute_cast?
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_ipc_read_async? io_ipc_write_async?

Enables futures

to write to parquet as a stream

async-stream io_ipc_read_async?

Enables async-stream

to read IPC 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

For instruction multiversioning

arrow-array arrow_rs?

Enables arrow-array

Support conversion to/from arrow-rs

arrow-buffer arrow_rs?
arrow-data arrow_rs?
arrow-schema arrow_rs?