forked from jorgecarleitao/arrow2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
146 lines (114 loc) · 3.44 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
[package]
name = "arrow2"
version = "0.1.0"
license = "Apache-2.0"
description = "Unofficial implementation of Apache Arrow spec in safe Rust"
homepage = "https://github.com/jorgecarleitao/arrow2"
repository = "https://github.com/jorgecarleitao/arrow2"
authors = ["Jorge C. Leitao <[email protected]>", "Apache Arrow <[email protected]>"]
keywords = [ "arrow", "analytics" ]
edition = "2018"
exclude = ["testing/"]
[lib]
name = "arrow2"
bench = false
[dependencies]
num = "^0.4"
chrono = "^0.4"
# To efficiently cast numbers to strings
lexical-core = "^0.7"
# We need to Hash values before sending them to an hasher. This
# crate provides HashMap that assumes pre-hashed values.
hash_hasher = "^2.0.3"
csv = { version = "^1.1", optional = true }
regex = { version = "^1.3", optional = true }
lazy_static = { version = "^1.4", optional = true }
serde = { version = "^1.0", features = ["rc"], optional = true }
serde_derive = { version = "^1.0", optional = true }
serde_json = { version = "^1.0", features = ["preserve_order"], optional = true }
indexmap = { version = "^1.6", optional = true }
# used to print columns in a nice columnar format
prettytable-rs = { version = "^0.8", optional = true }
flatbuffers = { version = "=2.0.0", optional = true }
hex = { version = "^0.4", optional = true }
# for IPC compression
lz4 = { version = "1.23.1", optional = true }
zstd = { version = "^0.6", optional = true }
rand = { version = "0.8", optional = true }
itertools = { version = "^0.10", optional = true }
base64 = { version = "0.13.0", optional = true }
packed_simd = { version = "0.3.4", optional = true, package = "packed_simd_2" }
multiversion = "0.6.1"
# to write to parquet as a stream
futures = { version = "0.3", optional = true }
# for faster hashing
ahash = { version = "0.7", optional = true }
parquet2 = { version = "0.1", optional = true }
[dev-dependencies]
rand = "0.8"
criterion = "0.3"
flate2 = "1"
doc-comment = "0.3"
crossbeam-channel = "0.5.1"
[features]
default = ["io_csv", "io_json", "io_ipc", "io_ipc_compression", "io_json_integration", "io_print", "io_parquet", "regex", "merge_sort", "ahash", "benchmarks", "compute"]
merge_sort = ["itertools"]
io_csv = ["csv", "lazy_static", "regex"]
io_json = ["serde", "serde_derive", "serde_json", "indexmap"]
io_ipc = ["flatbuffers"]
io_ipc_compression = ["lz4", "zstd"]
io_json_integration = ["io_json", "hex"]
io_print = ["prettytable-rs"]
# the compute kernels. Disabling this significantly reduces compile time.
compute = []
# base64 + io_ipc because arrow schemas are stored as base64-encoded ipc format.
io_parquet = ["parquet2", "io_ipc", "base64", "futures"]
benchmarks = ["rand"]
simd = ["packed_simd"]
[package.metadata.cargo-all-features]
skip_feature_sets = [
["benchmarks"],
["merge_sort"],
["io_json_integration"],
["simd"],
]
skip_optional_dependencies = true
[[bench]]
name = "take_kernels"
harness = false
[[bench]]
name = "filter_kernels"
harness = false
[[bench]]
name = "cast_kernels"
harness = false
[[bench]]
name = "sort_kernel"
harness = false
[[bench]]
name = "length_kernel"
harness = false
[[bench]]
name = "null_count"
harness = false
[[bench]]
name = "from_trusted_len_iter"
harness = false
[[bench]]
name = "growable"
harness = false
[[bench]]
name = "comparison_kernels"
harness = false
[[bench]]
name = "read_parquet"
harness = false
[[bench]]
name = "write_parquet"
harness = false
[[bench]]
name = "aggregate"
harness = false
[[bench]]
name = "write_ipc"
harness = false