-
Notifications
You must be signed in to change notification settings - Fork 228
/
Cargo.toml
186 lines (182 loc) · 5.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
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
[workspace]
members = [
"java/core/lance-jni",
"rust/lance",
"rust/lance-arrow",
"rust/lance-core",
"rust/lance-datagen",
"rust/lance-encoding",
"rust/lance-encoding-datafusion",
"rust/lance-file",
"rust/lance-index",
"rust/lance-io",
"rust/lance-linalg",
"rust/lance-table",
"rust/lance-test-macros",
"rust/lance-testing",
"rust/lance-encoding/src/compression_algo/fsst",
]
exclude = ["python"]
# Python package needs to be built by maturin.
resolver = "2"
[workspace.package]
version = "0.20.0"
edition = "2021"
authors = ["Lance Devs <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/lancedb/lance"
readme = "README.md"
description = "A columnar data format that is 100x faster than Parquet for random access."
keywords = [
"data-format",
"data-science",
"machine-learning",
"apache-arrow",
"data-analytics",
]
categories = [
"database-implementations",
"data-structures",
"development-tools",
"science",
]
rust-version = "1.78"
[workspace.dependencies]
lance = { version = "=0.20.0", path = "./rust/lance" }
lance-arrow = { version = "=0.20.0", path = "./rust/lance-arrow" }
lance-core = { version = "=0.20.0", path = "./rust/lance-core" }
lance-datafusion = { version = "=0.20.0", path = "./rust/lance-datafusion" }
lance-datagen = { version = "=0.20.0", path = "./rust/lance-datagen" }
lance-encoding = { version = "=0.20.0", path = "./rust/lance-encoding" }
lance-encoding-datafusion = { version = "=0.20.0", path = "./rust/lance-encoding-datafusion" }
lance-file = { version = "=0.20.0", path = "./rust/lance-file" }
lance-index = { version = "=0.20.0", path = "./rust/lance-index" }
lance-io = { version = "=0.20.0", path = "./rust/lance-io" }
lance-jni = { version = "=0.20.0", path = "./java/core/lance-jni" }
lance-linalg = { version = "=0.20.0", path = "./rust/lance-linalg" }
lance-table = { version = "=0.20.0", path = "./rust/lance-table" }
lance-test-macros = { version = "=0.20.0", path = "./rust/lance-test-macros" }
lance-testing = { version = "=0.20.0", path = "./rust/lance-testing" }
approx = "0.5.1"
# Note that this one does not include pyarrow
arrow = { version = "52.2", optional = false, features = ["prettyprint"] }
arrow-arith = "52.2"
arrow-array = "52.2"
arrow-buffer = "52.2"
arrow-cast = "52.2"
arrow-data = "52.2"
arrow-ipc = { version = "52.2", features = ["zstd"] }
arrow-ord = "52.2"
arrow-row = "52.2"
arrow-schema = "52.2"
arrow-select = "52.2"
async-recursion = "1.0"
async-trait = "0.1"
aws-config = "1.2.0"
aws-credential-types = "1.2.0"
aws-sdk-dynamodb = "1.38.0"
half = { "version" = "2.4.1", default-features = false, features = [
"num-traits",
"std",
] }
bitvec = "1"
bytes = "1.4"
byteorder = "1.5"
clap = { version = "4", features = ["derive"] }
chrono = { version = "0.4.25", default-features = false, features = [
"std",
"now",
] }
criterion = { version = "0.5", features = [
"async",
"async_tokio",
"html_reports",
] }
crossbeam-queue = "0.3"
datafusion = { version = "41.0", default-features = false, features = [
"nested_expressions",
"regex_expressions",
"unicode_expressions",
] }
datafusion-common = "41.0"
datafusion-functions = { version = "41.0", features = ["regex_expressions"] }
datafusion-sql = "41.0"
datafusion-expr = "41.0"
datafusion-execution = "41.0"
datafusion-optimizer = "41.0"
datafusion-physical-expr = { version = "41.0", features = [
"regex_expressions",
] }
deepsize = "0.2.0"
either = "1.0"
fsst = { version = "=0.20.0", path = "./rust/lance-encoding/src/compression_algo/fsst" }
futures = "0.3"
http = "1.1.0"
hyperloglogplus = { version = "0.4.1", features = ["const-loop"] }
itertools = "0.13"
lazy_static = "1"
log = "0.4"
mockall = { version = "0.13.1" }
mock_instant = { version = "0.3.1", features = ["sync"] }
moka = { version = "0.12", features = ["future", "sync"] }
num-traits = "0.2"
# Set min to prevent use of versions with CVE-2024-41178
object_store = { version = "0.10.2" }
parquet = "52.0"
pin-project = "1.0"
path_abs = "0.5"
pprof = { version = "0.14.0", features = ["flamegraph", "criterion"] }
proptest = "1.3.1"
prost = "0.12.2"
prost-build = "0.12.2"
prost-types = "0.12.2"
rand = { version = "0.8.3", features = ["small_rng"] }
rangemap = { version = "1.0" }
rayon = "1.10"
roaring = "0.10.1"
rstest = "0.23.0"
rustc_version = "0.4"
serde = { version = "^1" }
serde_json = { version = "1" }
shellexpand = "3.0"
snafu = "0.7.5"
tantivy = { version = "0.22.0", features = ["stopwords"] }
tempfile = "3"
test-log = { version = "0.2.15" }
tokio = { version = "1.23", features = [
"rt-multi-thread",
"macros",
"fs",
"sync",
] }
tokio-stream = "0.1.14"
tokio-util = { version = "0.7.10" }
tracing = "0.1"
url = "2.3"
uuid = { version = "1.2", features = ["v4", "serde"] }
pretty_assertions = "1.4.0"
zstd = "0.13.1"
[profile.bench]
opt-level = 3
debug = true
strip = false
[workspace.lints.clippy]
all = { level = "deny", priority = -1 }
style = { level = "deny", priority = -1 }
cargo = { level = "deny", priority = -1 }
fallible_impl_from = "deny"
manual_let_else = "deny"
redundant_pub_crate = "deny"
string_add_assign = "deny"
string_add = "deny"
string_lit_as_bytes = "deny"
string_to_string = "deny"
use_self = "deny"
dbg_macro = "deny"
trait_duplication_in_bounds = "deny"
redundant_clone = "deny"
# We should always use log instead of println
print_stdout = "deny"
print_stderr = "deny"
# not too much we can do to avoid multiple crate versions
multiple-crate-versions = "allow"