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