-
Notifications
You must be signed in to change notification settings - Fork 658
/
Cargo.toml
270 lines (226 loc) · 7.22 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
[package]
name = "arrow"
version = "26.0.0"
description = "Rust implementation of Apache Arrow"
homepage = "https://github.com/apache/arrow-rs"
repository = "https://github.com/apache/arrow-rs"
authors = ["Apache Arrow <dev@arrow.apache.org>"]
license = "Apache-2.0"
keywords = ["arrow"]
include = [
"benches/*.rs",
"src/**/*.rs",
"Cargo.toml",
]
edition = "2021"
rust-version = "1.62"
[lib]
name = "arrow"
path = "src/lib.rs"
bench = false
[target.'cfg(target_arch = "wasm32")'.dependencies]
ahash = { version = "0.8", default-features = false, features = ["compile-time-rng"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ahash = { version = "0.8", default-features = false, features = ["runtime-rng"] }
[dependencies]
arrow-array = { version = "26.0.0", path = "../arrow-array" }
arrow-buffer = { version = "26.0.0", path = "../arrow-buffer" }
arrow-cast = { version = "26.0.0", path = "../arrow-cast" }
arrow-csv = { version = "26.0.0", path = "../arrow-csv", optional = true }
arrow-data = { version = "26.0.0", path = "../arrow-data" }
arrow-ipc = { version = "26.0.0", path = "../arrow-ipc", optional = true }
arrow-json = { version = "26.0.0", path = "../arrow-json", optional = true }
arrow-schema = { version = "26.0.0", path = "../arrow-schema" }
arrow-select = { version = "26.0.0", path = "../arrow-select" }
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"], optional = true }
num = { version = "0.4", default-features = false, features = ["std"] }
half = { version = "2.1", default-features = false, features = ["num-traits"] }
hashbrown = { version = "0.12", default-features = false }
regex = { version = "1.5.6", default-features = false, features = ["std", "unicode"] }
regex-syntax = { version = "0.6.27", default-features = false, features = ["unicode"] }
packed_simd = { version = "0.3", default-features = false, optional = true, package = "packed_simd_2" }
chrono = { version = "0.4", default-features = false, features = ["clock"] }
comfy-table = { version = "6.0", optional = true, default-features = false }
pyo3 = { version = "0.17", default-features = false, optional = true }
multiversion = { version = "0.6.1", default-features = false }
bitflags = { version = "1.2.1", default-features = false, optional = true }
[package.metadata.docs.rs]
features = ["prettyprint", "ipc_compression", "dyn_cmp_dict", "ffi", "pyarrow"]
[features]
default = ["csv", "ipc", "json"]
ipc_compression = ["ipc", "arrow-ipc/lz4", "arrow-ipc/zstd"]
csv = ["arrow-csv"]
ipc = ["arrow-ipc"]
json = ["arrow-json"]
simd = ["packed_simd"]
prettyprint = ["comfy-table"]
# The test utils feature enables code used in benchmarks and tests but
# not the core arrow code itself. Be aware that `rand` must be kept as
# an optional dependency for supporting compile to wasm32-unknown-unknown
# target without assuming an environment containing JavaScript.
test_utils = ["rand"]
pyarrow = ["pyo3", "ffi"]
# force_validate runs full data validation for all arrays that are created
# this is not enabled by default as it is too computationally expensive
# but is run as part of our CI checks
force_validate = ["arrow-data/force_validate"]
# Enable ffi support
ffi = ["bitflags"]
# Enable dyn-comparison of dictionary arrays with other arrays
# Note: this does not impact comparison against scalars
dyn_cmp_dict = []
# Enable dyn-arithmetic kernels for dictionary arrays
# Note: this does not impact arithmetic with scalars
dyn_arith_dict = []
chrono-tz = ["arrow-array/chrono-tz"]
[dev-dependencies]
chrono = { version = "0.4", default-features = false, features = ["clock"] }
criterion = { version = "0.4", default-features = false }
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"] }
tempfile = { version = "3", default-features = false }
[build-dependencies]
[[example]]
name = "dynamic_types"
required-features = ["prettyprint"]
path = "./examples/dynamic_types.rs"
[[example]]
name = "read_csv"
required-features = ["prettyprint", "csv"]
path = "./examples/read_csv.rs"
[[example]]
name = "read_csv_infer_schema"
required-features = ["prettyprint", "csv"]
path = "./examples/read_csv_infer_schema.rs"
[[bench]]
name = "aggregate_kernels"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "array_from_vec"
harness = false
[[bench]]
name = "builder"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "buffer_bit_ops"
harness = false
[[bench]]
name = "boolean_kernels"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "boolean_append_packed"
harness = false
[[bench]]
name = "arithmetic_kernels"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "cast_kernels"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "comparison_kernels"
harness = false
required-features = ["test_utils", "dyn_cmp_dict"]
[[bench]]
name = "filter_kernels"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "take_kernels"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "interleave_kernels"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "length_kernel"
harness = false
[[bench]]
name = "bit_length_kernel"
harness = false
[[bench]]
name = "sort_kernel"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "partition_kernels"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "csv_writer"
harness = false
required-features = ["csv"]
[[bench]]
name = "json_reader"
harness = false
required-features = ["json"]
[[bench]]
name = "equal"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "array_slice"
harness = false
[[bench]]
name = "concatenate_kernel"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "mutable_array"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "buffer_create"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "string_dictionary_builder"
harness = false
[[bench]]
name = "substring_kernels"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "array_data_validate"
harness = false
[[bench]]
name = "decimal_validate"
harness = false
[[bench]]
name = "row_format"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "bitwise_kernel"
harness = false
required-features = ["test_utils"]
[[bench]]
name = "lexsort"
harness = false
required-features = ["test_utils"]
[[test]]
name = "ipc"
required-features = ["test_utils", "ipc"]
[[test]]
name = "csv"
required-features = ["csv", "chrono-tz"]