-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
201 lines (186 loc) · 6.95 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
[workspace]
# In alphabetical order
members = [
"arrow_util",
"backoff",
"clap_blocks",
"client_util",
"data_types",
"datafusion_util",
"dml",
"executor",
"flightsql",
"generated_types",
"grpc-binary-logger-proto",
"grpc-binary-logger-test-proto",
"grpc-binary-logger",
"import_export",
"influxdb_influxql_parser",
"influxdb_iox_client",
"influxdb_line_protocol",
"influxdb_storage_client",
"influxdb2_client",
"influxrpc_parser",
"iox_catalog",
"iox_http",
"iox_query_influxql",
"iox_query_influxrpc",
"iox_query",
"iox_system_tables",
"iox_tests",
"iox_time",
"logfmt",
"meta_data_cache",
"metric_exporters",
"metric",
"mutable_batch_lp",
"mutable_batch_lp/fuzz",
"mutable_batch_pb",
"mutable_batch_tests",
"mutable_batch",
"object_store_mem_cache",
"object_store_metrics",
"observability_deps",
"panic_logging",
"parquet_file",
"parquet_to_line_protocol",
"predicate",
"query_functions",
"schema",
"service_common",
"service_grpc_flight",
"service_grpc_testing",
"sharder",
"sqlx-hotswap-pool",
"tokio_metrics_bridge",
"test_helpers_authz",
"trace_exporters",
"trace_http",
"trace",
"tracker",
"trogging",
"workspace-hack",
"versioned_file_store",
]
resolver = "2"
exclude = [
"*.md",
"*.txt",
".git*",
".github/",
"LICENSE*",
"massif.out.*",
"test_bench/",
"test_fixtures/",
]
[workspace.package]
version = "0.1.0"
authors = ["IOx Project Developers"]
edition = "2021"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
arrow = {version = "53.0.0", features = ["prettyprint", "chrono-tz"] }
arrow-buffer = {version = "53.0.0"}
arrow-flight = {version = "53.0.0", features = ["flight-sql-experimental"] }
arrow-ipc = {version = "53.0.0"}
datafusion = { git = "https://github.com/influxdata/arrow-datafusion.git", rev = "f78378fc21551cf1c324918537368d08c715ecb1" }
datafusion-proto = { git = "https://github.com/influxdata/arrow-datafusion.git", rev = "f78378fc21551cf1c324918537368d08c715ecb1" }
hashbrown = {version = "0.14.5"}
http = {version = "0.2.12"}
http-body = { version = "0.4.6" }
hyper = { version = "0.14.31" }
object_store = {version = "0.11.1"}
parquet = {version = "53.0.0", features = ["object_store"] }
pbjson = {version = "0.6.0"}
pbjson-build = {version = "0.6.2"}
pbjson-types = {version = "0.6.0"}
proptest = {version = "1", default-features = false, features = ["std"] }
prost = {version = "0.12.6"}
prost-build = {version = "0.12.6"}
prost-types = {version = "0.12.6"}
reqwest = { version = "0.11", default-features = false }
smallvec = {version = "1.13.2", features = ["union"] }
sqlx = { version = "0.8.2"}
tonic = {version = "0.11.0", features = ["tls", "tls-roots"] }
tonic-build = {version = "0.11.0"}
tonic-health = {version = "0.11.0"}
tonic-reflection = {version = "0.11.0"}
tower = { version = "0.4" }
tower-http = {version = "0.4", features = ["catch-panic"] }
[workspace.lints.rust]
missing_copy_implementations = "deny"
missing_debug_implementations = "deny"
rust_2018_idioms = { level = "deny", priority = -1 }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
unreachable_pub = "deny"
unused_crate_dependencies = "deny"
[workspace.lints.clippy]
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
explicit_iter_loop = "deny"
future_not_send = "deny"
todo = "deny"
use_self = "deny"
[workspace.lints.rustdoc]
broken_intra_doc_links = "deny"
bare_urls = "deny"
# This profile optimizes for runtime performance and small binary size at the expense of longer
# build times. It's most suitable for final release builds.
[profile.release]
codegen-units = 16
debug = true
lto = "thin"
[profile.bench]
debug = true
# avoid rebuilds of build dependencies
# See https://github.com/rust-lang/cargo/pull/11252
[profile.dev.build-override]
debug = true
# This profile optimizes for short build times at the expense of larger binary size and slower
# runtime performance. It's most suitable for development iterations.
[profile.quick-release]
inherits = "release"
codegen-units = 16
lto = false
incremental = true
# Per insta docs: https://insta.rs/docs/quickstart/#optional-faster-runs
[profile.dev.package.insta]
opt-level = 3
[profile.dev.package.similar]
opt-level = 3
# Patching Arrow
#
# Assuming you have a local checkout of Arrow in a directory alongside your local checkout of influxdb3_core,
# and you have changes to Arrow in your local checkout that you want to test out with influxdb3_core,
# uncomment this `[patch.crates-io]` section to tell Cargo to use your local arrow versions for all
# transitive dependencies. The entries for the `arrow-*` crates are needed because `datafusion` has
# a direct dependency on them.
#
# WARNING: Do not merge in a PR uncommenting this change! This is for local testing only!
#
# [patch.crates-io]
# arrow = { path = "../arrow-rs/arrow" }
# parquet = { path = "../arrow-rs/parquet" }
# arrow-array = { path = "../arrow-rs/arrow-array" }
# arrow-schema = { path = "../arrow-rs/arrow-schema" }
# arrow-data = { path = "../arrow-rs/arrow-data" }
# arrow-buffer = { path = "../arrow-rs/arrow-buffer" }
# arrow-ipc = { path = "../arrow-rs/arrow-ipc" }
## NB: This is taken from Iox
## Use patch of arrow-rs with an older version of tonic
## until we have upgraded hyper: https://github.com/influxdata/influxdb_iox/issues/9340
## see https://github.com/influxdata/arrow-rs/pull/3
[patch.crates-io]
arrow = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-array = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-buffer = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-cast = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-data = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-ipc = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-json = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-schema = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-select = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-string = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-ord = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
arrow-flight = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }
parquet = { git = "https://github.com/influxdata/arrow-rs.git", rev = "aa8c04807d85be763c2099dd4e5095e967f0ca03" }