Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-arrow/Cargo.toml
8431 views
1
[package]
2
name = "polars-arrow"
3
version = { workspace = true }
4
authors = [
5
"Jorge C. Leitao <[email protected]>",
6
"Apache Arrow <[email protected]>",
7
"Ritchie Vink <[email protected]>",
8
]
9
edition = { workspace = true }
10
homepage = { workspace = true }
11
license = "MIT AND Apache-2.0"
12
repository = { workspace = true }
13
description = "Minimal implementation of the Arrow specification forked from arrow2"
14
15
[dependencies]
16
bitflags = { workspace = true }
17
bytemuck = { workspace = true, features = ["must_cast"] }
18
bytes = { workspace = true }
19
chrono = { workspace = true }
20
# for timezone support
21
chrono-tz = { workspace = true, optional = true }
22
dyn-clone = { version = "1" }
23
either = { workspace = true }
24
half = { workspace = true, optional = false, features = ["num-traits", "bytemuck"] }
25
hashbrown = { workspace = true }
26
num-traits = { workspace = true }
27
polars-buffer = { workspace = true }
28
polars-error = { workspace = true }
29
polars-schema = { workspace = true }
30
polars-utils = { workspace = true }
31
schemars = { workspace = true, optional = true }
32
serde = { workspace = true, optional = true }
33
simdutf8 = { workspace = true }
34
35
ethnum = { workspace = true }
36
37
# To efficiently cast numbers to strings
38
atoi_simd = { workspace = true, optional = true }
39
itoa = { workspace = true, optional = true }
40
streaming-iterator = { workspace = true }
41
42
arrow-format = { workspace = true, optional = true, features = ["ipc"] }
43
44
# for IPC compression
45
lz4 = { version = "1.24", optional = true }
46
zstd = { workspace = true, optional = true }
47
48
# to write to parquet as a stream
49
futures = { workspace = true, optional = true }
50
51
# avro support
52
avro-schema = { workspace = true, optional = true }
53
54
# For async arrow flight conversion
55
async-stream = { version = "0.3", optional = true }
56
tokio = { workspace = true, optional = true, features = ["io-util"] }
57
58
proptest = { workspace = true, optional = true }
59
strum_macros = { workspace = true }
60
61
[dev-dependencies]
62
# used to run formal property testing
63
polars-arrow = { path = ".", features = ["proptest"] }
64
proptest = { workspace = true }
65
66
# use for flaky testing
67
rand = { workspace = true }
68
# used to test async readers
69
tokio = { workspace = true, features = ["macros", "rt", "fs", "io-util"] }
70
71
[build-dependencies]
72
version_check = { workspace = true }
73
74
[target.wasm32-unknown-unknown.dependencies]
75
getrandom = { version = "0.3", features = ["wasm_js"] }
76
old_getrandom = { version = "0.2", features = ["js"], package = "getrandom" }
77
78
[features]
79
default = []
80
full = [
81
"io_ipc",
82
"io_flight",
83
"io_ipc_compression",
84
"io_avro",
85
"io_avro_compression",
86
"io_avro_async",
87
"compute",
88
"serde",
89
# parses timezones used in timestamp conversions
90
"chrono-tz",
91
]
92
io_ipc = ["arrow-format", "polars-error/arrow-format"]
93
io_ipc_compression = ["lz4", "zstd", "io_ipc"]
94
io_flight = ["io_ipc", "arrow-format/flight-data", "async-stream", "futures", "tokio"]
95
96
io_avro = ["avro-schema", "polars-error/avro-schema"]
97
io_avro_compression = [
98
"avro-schema/compression",
99
]
100
io_avro_async = ["avro-schema/async"]
101
102
# the compute kernels. Disabling this significantly reduces compile time.
103
compute_aggregate = []
104
compute_arithmetics_decimal = []
105
compute_arithmetics = ["compute_arithmetics_decimal"]
106
compute_bitwise = []
107
compute_boolean = []
108
compute_boolean_kleene = []
109
compute_comparison = ["compute_boolean"]
110
compute_temporal = []
111
compute = [
112
"compute_aggregate",
113
"compute_arithmetics",
114
"compute_bitwise",
115
"compute_boolean",
116
"compute_boolean_kleene",
117
"compute_comparison",
118
"compute_temporal",
119
]
120
serde = [
121
"dep:serde",
122
"polars-buffer/serde",
123
"polars-schema/serde",
124
"polars-utils/serde",
125
"half/serde",
126
]
127
dsl-schema = ["dep:schemars", "polars-schema/dsl-schema", "polars-utils/dsl-schema"]
128
simd = []
129
130
# polars-arrow
131
timezones = [
132
"chrono-tz",
133
]
134
dtype-array = []
135
dtype-decimal = ["atoi_simd", "itoa"]
136
bigidx = ["polars-utils/bigidx"]
137
nightly = []
138
performant = []
139
strings = []
140
temporal = []
141
142
[package.metadata.docs.rs]
143
features = ["full"]
144
rustdoc-args = ["--cfg", "docsrs"]
145
146
[package.metadata.cargo-all-features]
147
allowlist = ["compute", "compute_sort", "compute_nullif"]
148
149
[lints]
150
workspace = true
151
152