Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pola-rs
GitHub Repository: pola-rs/polars
Path: blob/main/crates/polars-plan/Cargo.toml
8446 views
1
[package]
2
name = "polars-plan"
3
version = { workspace = true }
4
authors = { workspace = true }
5
edition = { workspace = true }
6
homepage = { workspace = true }
7
license = { workspace = true }
8
repository = { workspace = true }
9
description = "Lazy query engine for the Polars DataFrame library"
10
11
[lib]
12
doctest = false
13
14
[dependencies]
15
libloading = { workspace = true, optional = true }
16
polars-buffer = { workspace = true }
17
polars-compute = { workspace = true }
18
polars-config = { workspace = true }
19
polars-core = { workspace = true, features = ["lazy", "zip_with", "random"] }
20
polars-error = { workspace = true }
21
polars-ffi = { workspace = true, optional = true }
22
polars-io = { workspace = true, features = ["lazy", "csv", "async"] }
23
polars-json = { workspace = true, optional = true }
24
polars-ops = { workspace = true, features = [] }
25
polars-parquet = { workspace = true, optional = true }
26
polars-time = { workspace = true, optional = true }
27
polars-utils = { workspace = true }
28
29
arrow = { workspace = true }
30
bitflags = { workspace = true }
31
blake3 = { workspace = true, optional = true }
32
bytemuck = { workspace = true }
33
bytes = { workspace = true, features = ["serde"] }
34
chrono = { workspace = true, optional = true }
35
chrono-tz = { workspace = true, optional = true }
36
either = { workspace = true }
37
futures = { workspace = true }
38
hashbrown = { workspace = true }
39
memmap = { workspace = true }
40
num-traits = { workspace = true }
41
percent-encoding = { workspace = true }
42
pyo3 = { workspace = true, optional = true }
43
rayon = { workspace = true }
44
recursive = { workspace = true }
45
regex = { workspace = true, optional = true }
46
schemars = { workspace = true, features = ["either1"], optional = true }
47
serde = { workspace = true, features = ["rc"], optional = true }
48
serde_json = { workspace = true, optional = true }
49
sha2 = { workspace = true, optional = true }
50
slotmap = { workspace = true }
51
strum_macros = { workspace = true }
52
tokio = { workspace = true }
53
54
[build-dependencies]
55
sha2 = { workspace = true }
56
version_check = { workspace = true }
57
58
[features]
59
# debugging utility
60
debugging = []
61
python = ["dep:pyo3", "polars-utils/python", "polars-ffi", "polars-core/object", "serde"]
62
serde = [
63
"dep:serde",
64
"polars-buffer/serde",
65
"polars-config/serde",
66
"polars-core/serde-lazy",
67
"polars-core/serde",
68
"polars-time/serde",
69
"polars-io/serde",
70
"polars-ops/serde",
71
"polars-utils/serde",
72
"polars-compute/serde",
73
"either/serde",
74
"slotmap/serde",
75
]
76
parquet = ["polars-io/parquet", "polars-parquet"]
77
cloud = ["polars-io/cloud"]
78
ipc = ["polars-io/ipc"]
79
json = ["polars-io/json", "polars-json"]
80
scan_lines = []
81
csv = ["polars-io/csv"]
82
temporal = [
83
"chrono",
84
"polars-core/temporal",
85
"polars-core/dtype-date",
86
"polars-core/dtype-datetime",
87
"polars-core/dtype-time",
88
"polars-core/dtype-i8",
89
"polars-core/dtype-i16",
90
]
91
# debugging purposes
92
fmt = ["polars-core/fmt"]
93
strings = ["polars-core/strings", "polars-ops/strings"]
94
future = []
95
dtype-u8 = ["polars-core/dtype-u8"]
96
dtype-u16 = ["polars-core/dtype-u16"]
97
dtype-u128 = ["polars-core/dtype-u128", "polars-ops/dtype-u128"]
98
dtype-i8 = ["polars-core/dtype-i8"]
99
dtype-i128 = ["polars-core/dtype-i128"]
100
dtype-i16 = ["polars-core/dtype-i16"]
101
dtype-f16 = ["polars-core/dtype-f16"]
102
dtype-decimal = ["polars-core/dtype-decimal", "polars-ops/dtype-decimal", "dtype-i128"]
103
dtype-date = ["polars-time/dtype-date", "temporal"]
104
dtype-datetime = ["polars-time/dtype-datetime", "temporal"]
105
dtype-duration = ["polars-core/dtype-duration", "polars-time/dtype-duration", "temporal", "polars-ops/dtype-duration"]
106
dtype-time = ["polars-time/dtype-time", "temporal"]
107
dtype-array = ["polars-core/dtype-array", "polars-ops/dtype-array"]
108
dtype-categorical = ["polars-core/dtype-categorical"]
109
dtype-extension = ["polars-core/dtype-extension", "polars-ops/dtype-extension"]
110
dtype-struct = ["polars-core/dtype-struct"]
111
object = ["polars-core/object", "polars-ops/object"]
112
list_filter = ["polars-ops/list_filter"]
113
list_gather = ["polars-ops/list_gather"]
114
list_count = ["polars-ops/list_count"]
115
array_count = ["polars-ops/array_count", "dtype-array"]
116
trigonometry = []
117
sign = []
118
timezones = ["chrono-tz", "polars-time/timezones", "polars-core/timezones", "regex"]
119
binary_encoding = ["polars-ops/binary_encoding"]
120
string_encoding = ["polars-ops/string_encoding"]
121
true_div = []
122
nightly = ["polars-utils/nightly", "polars-ops/nightly"]
123
extract_jsonpath = ["polars-ops/extract_jsonpath"]
124
dsl-schema = [
125
"dep:schemars",
126
"dep:sha2",
127
"dep:serde_json",
128
"serde_json/preserve_order",
129
"serde",
130
"arrow/dsl-schema",
131
"polars-core/dsl-schema",
132
"polars-time/dsl-schema",
133
"polars-io/dsl-schema",
134
"polars-ops/dsl-schema",
135
"polars-utils/dsl-schema",
136
"polars-compute/dsl-schema",
137
]
138
139
# operations
140
bitwise = ["polars-core/bitwise", "polars-ops/bitwise"]
141
approx_unique = ["polars-ops/approx_unique", "polars-core/approx_unique"]
142
is_in = ["polars-ops/is_in"]
143
repeat_by = ["polars-ops/repeat_by"]
144
round_series = ["polars-ops/round_series"]
145
is_first_distinct = ["polars-core/is_first_distinct", "polars-ops/is_first_distinct"]
146
is_last_distinct = ["polars-core/is_last_distinct", "polars-ops/is_last_distinct"]
147
is_unique = ["polars-ops/is_unique"]
148
is_between = ["polars-ops/is_between"]
149
is_close = ["polars-ops/is_close"]
150
cross_join = ["polars-ops/cross_join"]
151
asof_join = ["polars-time", "polars-ops/asof_join"]
152
iejoin = ["polars-ops/iejoin"]
153
concat_str = []
154
business = ["polars-ops/business"]
155
range = ["dtype-array"]
156
mode = ["polars-ops/mode"]
157
cum_agg = ["polars-ops/cum_agg"]
158
interpolate = ["polars-ops/interpolate"]
159
interpolate_by = ["polars-ops/interpolate_by"]
160
rolling_window = [
161
"polars-core/rolling_window",
162
"polars-time/rolling_window",
163
"polars-ops/rolling_window",
164
]
165
rolling_window_by = [
166
"polars-core/rolling_window_by",
167
"polars-time/rolling_window_by",
168
"polars-ops/rolling_window_by",
169
]
170
rank = ["polars-ops/rank"]
171
diff = ["polars-ops/diff"]
172
pct_change = ["polars-ops/pct_change"]
173
moment = ["polars-ops/moment"]
174
abs = ["polars-ops/abs"]
175
random = ["polars-core/random"]
176
dynamic_group_by = ["polars-core/dynamic_group_by", "dtype-date", "dtype-datetime"]
177
ewma = ["polars-ops/ewma"]
178
ewma_by = ["polars-ops/ewma_by"]
179
dot_diagram = []
180
unique_counts = ["polars-ops/unique_counts"]
181
log = ["polars-ops/log"]
182
chunked_ids = []
183
list_to_struct = ["polars-ops/list_to_struct"]
184
array_to_struct = ["polars-ops/array_to_struct"]
185
row_hash = ["polars-core/row_hash", "polars-ops/hash"]
186
reinterpret = ["polars-core/reinterpret", "polars-ops/reinterpret"]
187
string_pad = ["polars-ops/string_pad"]
188
string_normalize = ["polars-ops/string_normalize"]
189
string_reverse = ["polars-ops/string_reverse"]
190
string_to_integer = ["polars-ops/string_to_integer"]
191
arg_where = []
192
index_of = ["polars-ops/index_of"]
193
search_sorted = ["polars-ops/search_sorted"]
194
merge_sorted = ["polars-ops/merge_sorted"]
195
meta = []
196
pivot = ["polars-core/rows", "polars-ops/pivot"]
197
top_k = ["polars-ops/top_k"]
198
semi_anti_join = ["polars-ops/semi_anti_join"]
199
cse = ["blake3"]
200
propagate_nans = ["polars-ops/propagate_nans"]
201
coalesce = []
202
fused = ["polars-ops/fused"]
203
array_any_all = ["polars-ops/array_any_all", "dtype-array"]
204
list_sets = ["polars-ops/list_sets"]
205
list_any_all = ["polars-ops/list_any_all"]
206
list_drop_nulls = ["polars-ops/list_drop_nulls"]
207
list_sample = ["polars-ops/list_sample"]
208
cutqcut = ["polars-ops/cutqcut"]
209
rle = ["polars-ops/rle"]
210
extract_groups = ["regex", "dtype-struct", "polars-ops/extract_groups"]
211
ffi_plugin = ["libloading", "polars-ffi"]
212
hive_partitions = []
213
peaks = ["polars-ops/peaks"]
214
cov = ["polars-ops/cov"]
215
hist = ["polars-ops/hist"]
216
replace = ["polars-ops/replace"]
217
find_many = ["polars-ops/find_many"]
218
month_start = ["polars-time/month_start"]
219
month_end = ["polars-time/month_end"]
220
offset_by = ["polars-time/offset_by"]
221
allow_unused = ["polars-io/allow_unused", "polars-ops/allow_unused", "polars-time?/allow_unused"]
222
223
bigidx = ["polars-core/bigidx", "polars-utils/bigidx"]
224
polars_cloud_client = ["serde"]
225
polars_cloud_server = ["serde"]
226
ir_serde = ["serde", "polars-utils/ir_serde"]
227
228
[package.metadata.docs.rs]
229
features = [
230
"bitwise",
231
"temporal",
232
"serde",
233
"rolling_window",
234
"rolling_window_by",
235
"timezones",
236
"dtype-date",
237
"extract_groups",
238
"dtype-datetime",
239
"asof_join",
240
"dtype-duration",
241
"is_first_distinct",
242
"pivot",
243
"dtype-array",
244
"is_last_distinct",
245
"dtype-time",
246
"array_any_all",
247
"month_start",
248
"month_end",
249
"offset_by",
250
"parquet",
251
"strings",
252
"row_hash",
253
"json",
254
"python",
255
"cloud",
256
"string_to_integer",
257
"list_any_all",
258
"pct_change",
259
"list_gather",
260
"list_filter",
261
"dtype-i16",
262
"round_series",
263
"cutqcut",
264
"async",
265
"ewma",
266
"ewma_by",
267
"random",
268
"chunked_ids",
269
"repeat_by",
270
"is_in",
271
"log",
272
"string_reverse",
273
"list_sets",
274
"propagate_nans",
275
"mode",
276
"rank",
277
"hist",
278
"object",
279
"approx_unique",
280
"dtype-categorical",
281
"merge_sorted",
282
"bigidx",
283
"cov",
284
"list_sample",
285
"dtype-i8",
286
"fused",
287
"binary_encoding",
288
"list_drop_nulls",
289
"fmt",
290
"list_to_struct",
291
"string_pad",
292
"diff",
293
"rle",
294
"is_unique",
295
"find_many",
296
"string_encoding",
297
"ipc",
298
"index_of",
299
"search_sorted",
300
"unique_counts",
301
"dtype-u8",
302
"dtype-struct",
303
"peaks",
304
"abs",
305
"interpolate",
306
"interpolate_by",
307
"list_count",
308
"cum_agg",
309
"top_k",
310
"moment",
311
"semi_anti_join",
312
"replace",
313
"dtype-u16",
314
"dtype-f16",
315
"regex",
316
"dtype-decimal",
317
"arg_where",
318
"business",
319
"range",
320
"meta",
321
"hive_partitions",
322
"concat_str",
323
"coalesce",
324
"dot_diagram",
325
"trigonometry",
326
"true_div",
327
"sign",
328
]
329
# defines the configuration attribute `docsrs`
330
rustdoc-args = ["--cfg", "docsrs"]
331
332
[lints]
333
workspace = true
334
335