2021-10-26 08:46:57 +00:00
|
|
|
[package]
|
|
|
|
name = "influxdb_iox"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Paul Dix <paul@pauldix.net>"]
|
|
|
|
edition = "2021"
|
|
|
|
default-run = "influxdb_iox"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
# Workspace dependencies, in alphabetical order
|
2022-03-03 16:48:30 +00:00
|
|
|
clap_blocks = { path = "../clap_blocks" }
|
2022-02-18 14:35:45 +00:00
|
|
|
compactor = { path = "../compactor" }
|
2021-10-26 08:46:57 +00:00
|
|
|
data_types = { path = "../data_types" }
|
2022-02-25 15:10:23 +00:00
|
|
|
data_types2 = { path = "../data_types2" }
|
2021-11-19 19:02:08 +00:00
|
|
|
datafusion = { path = "../datafusion" }
|
2021-12-23 22:01:17 +00:00
|
|
|
db = { path = "../db" }
|
2021-11-11 12:34:07 +00:00
|
|
|
dml = { path = "../dml" }
|
2021-10-26 08:46:57 +00:00
|
|
|
generated_types = { path = "../generated_types" }
|
2021-11-05 17:26:18 +00:00
|
|
|
influxdb_iox_client = { path = "../influxdb_iox_client", features = ["flight", "format", "write_lp"] }
|
2022-02-02 16:23:00 +00:00
|
|
|
influxdb_storage_client = { path = "../influxdb_storage_client" }
|
2021-10-26 08:46:57 +00:00
|
|
|
influxdb_line_protocol = { path = "../influxdb_line_protocol" }
|
2022-01-21 23:02:19 +00:00
|
|
|
ingester = { path = "../ingester" }
|
2021-10-26 08:46:57 +00:00
|
|
|
internal_types = { path = "../internal_types" }
|
2022-02-02 09:51:35 +00:00
|
|
|
influxrpc_parser = { path = "../influxrpc_parser"}
|
2022-01-21 23:02:19 +00:00
|
|
|
iox_catalog = { path = "../iox_catalog" }
|
2021-10-26 08:46:57 +00:00
|
|
|
iox_object_store = { path = "../iox_object_store" }
|
2022-03-29 13:07:19 +00:00
|
|
|
ioxd_common = { path = "../ioxd_common"}
|
2022-04-03 10:42:22 +00:00
|
|
|
ioxd_compactor = { path = "../ioxd_compactor"}
|
2022-03-29 13:07:19 +00:00
|
|
|
ioxd_database = { path = "../ioxd_database"}
|
2022-04-03 10:42:22 +00:00
|
|
|
ioxd_ingester = { path = "../ioxd_ingester"}
|
2022-03-29 13:07:19 +00:00
|
|
|
ioxd_router = { path = "../ioxd_router"}
|
2022-03-31 17:39:05 +00:00
|
|
|
ioxd_router2 = { path = "../ioxd_router2"}
|
2022-03-31 16:03:31 +00:00
|
|
|
ioxd_querier = { path = "../ioxd_querier"}
|
2022-04-03 10:42:22 +00:00
|
|
|
ioxd_test = { path = "../ioxd_test"}
|
2021-12-23 22:01:17 +00:00
|
|
|
job_registry = { path = "../job_registry" }
|
2021-10-26 08:46:57 +00:00
|
|
|
logfmt = { path = "../logfmt" }
|
|
|
|
metric = { path = "../metric" }
|
|
|
|
metric_exporters = { path = "../metric_exporters" }
|
2022-02-07 14:48:38 +00:00
|
|
|
mutable_batch = { path = "../mutable_batch" }
|
2021-11-05 11:09:33 +00:00
|
|
|
mutable_batch_lp = { path = "../mutable_batch_lp" }
|
|
|
|
mutable_batch_pb = { path = "../mutable_batch_pb" }
|
2021-10-26 08:46:57 +00:00
|
|
|
mutable_buffer = { path = "../mutable_buffer" }
|
|
|
|
object_store = { path = "../object_store" }
|
|
|
|
observability_deps = { path = "../observability_deps" }
|
|
|
|
panic_logging = { path = "../panic_logging" }
|
|
|
|
parquet_catalog = { path = "../parquet_catalog" }
|
|
|
|
parquet_file = { path = "../parquet_file" }
|
|
|
|
predicate = { path = "../predicate" }
|
2022-02-09 19:07:44 +00:00
|
|
|
querier = { path = "../querier" }
|
2021-10-26 08:46:57 +00:00
|
|
|
query = { path = "../query" }
|
|
|
|
read_buffer = { path = "../read_buffer" }
|
2021-11-03 08:18:51 +00:00
|
|
|
router = { path = "../router" }
|
2022-01-12 14:13:20 +00:00
|
|
|
router2 = { path = "../router2" }
|
2022-02-04 16:12:52 +00:00
|
|
|
schema = { path = "../schema" }
|
2021-10-26 08:46:57 +00:00
|
|
|
server = { path = "../server" }
|
2022-04-26 00:19:59 +00:00
|
|
|
iox_time = { path = "../iox_time" }
|
2021-10-26 08:46:57 +00:00
|
|
|
trace = { path = "../trace" }
|
|
|
|
trace_exporters = { path = "../trace_exporters" }
|
|
|
|
trace_http = { path = "../trace_http" }
|
|
|
|
tracker = { path = "../tracker" }
|
2022-01-17 11:12:46 +00:00
|
|
|
trogging = { path = "../trogging", default-features = false, features = ["clap"] }
|
2022-01-28 16:38:59 +00:00
|
|
|
write_buffer = { path = "../write_buffer" }
|
2021-10-26 08:46:57 +00:00
|
|
|
|
|
|
|
# Crates.io dependencies, in alphabetical order
|
2022-02-03 17:11:01 +00:00
|
|
|
ansi_term = "0.12"
|
2022-04-20 11:12:17 +00:00
|
|
|
arrow = { version = "12", features = ["prettyprint"] }
|
|
|
|
arrow-flight = "12"
|
2021-10-27 12:12:47 +00:00
|
|
|
async-trait = "0.1"
|
2021-10-26 08:46:57 +00:00
|
|
|
backtrace = "0.3"
|
|
|
|
byteorder = "1.3.4"
|
|
|
|
bytes = "1.0"
|
2021-11-22 22:06:04 +00:00
|
|
|
chrono = { version = "0.4", default-features = false }
|
2022-01-17 11:12:46 +00:00
|
|
|
clap = { version = "3", features = ["derive", "env"] }
|
2021-11-19 19:02:08 +00:00
|
|
|
# used by arrow/datafusion anyway
|
|
|
|
comfy-table = { version = "5.0", default-features = false }
|
2022-04-12 10:33:27 +00:00
|
|
|
console-subscriber = { version = "0.1.4", optional = true, features = ["parking_lot"] }
|
2021-10-26 08:46:57 +00:00
|
|
|
csv = "1.1"
|
|
|
|
dotenv = "0.15.0"
|
|
|
|
flate2 = "1.0"
|
|
|
|
futures = "0.3"
|
2022-01-27 15:34:10 +00:00
|
|
|
hashbrown = "0.12"
|
2022-04-29 09:56:48 +00:00
|
|
|
http = "0.2.7"
|
2021-10-26 08:46:57 +00:00
|
|
|
humantime = "2.1.0"
|
|
|
|
hyper = "0.14"
|
2021-11-19 19:02:08 +00:00
|
|
|
itertools = "0.10.1"
|
2021-10-26 08:46:57 +00:00
|
|
|
libc = { version = "0.2" }
|
|
|
|
log = "0.4"
|
2021-11-19 19:02:08 +00:00
|
|
|
num_cpus = "1.13.0"
|
2022-03-07 08:54:20 +00:00
|
|
|
once_cell = { version = "1.10.0", features = ["parking_lot"] }
|
2022-02-01 11:50:42 +00:00
|
|
|
parking_lot = "0.12"
|
2022-04-20 11:12:17 +00:00
|
|
|
parquet = "12"
|
2021-10-26 08:46:57 +00:00
|
|
|
pin-project = "1.0"
|
2022-04-20 11:12:17 +00:00
|
|
|
prost = "0.10"
|
2021-10-26 08:46:57 +00:00
|
|
|
rustyline = { version = "9.0", default-features = false }
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-02-14 20:42:54 +00:00
|
|
|
serde_json = "1.0.79"
|
2021-10-26 08:46:57 +00:00
|
|
|
serde_urlencoded = "0.7.0"
|
2022-01-11 19:22:36 +00:00
|
|
|
snafu = "0.7"
|
2021-10-26 08:46:57 +00:00
|
|
|
thiserror = "1.0.30"
|
2022-03-02 17:38:01 +00:00
|
|
|
tikv-jemalloc-ctl = { version = "0.4.0", optional = true }
|
2022-04-28 08:21:17 +00:00
|
|
|
tokio = { version = "1.18", features = ["macros", "net", "parking_lot", "rt-multi-thread", "signal", "sync", "time"] }
|
2021-12-02 21:13:11 +00:00
|
|
|
tokio-stream = { version = "0.1", features = ["net"] }
|
2022-03-29 08:39:02 +00:00
|
|
|
tokio-util = { version = "0.7.1" }
|
2022-04-20 11:12:17 +00:00
|
|
|
tonic = "0.7"
|
|
|
|
tonic-health = "0.6.0"
|
|
|
|
tonic-reflection = "0.4.0"
|
2021-10-26 08:46:57 +00:00
|
|
|
tower = "0.4"
|
|
|
|
uuid = { version = "0.8", features = ["v4"] }
|
|
|
|
# jemalloc-sys with unprefixed_malloc_on_supported_platforms feature and heappy are mutually exclusive
|
|
|
|
tikv-jemalloc-sys = { version = "0.4.0", optional = true, features = ["unprefixed_malloc_on_supported_platforms"] }
|
2022-04-21 10:52:23 +00:00
|
|
|
heappy = { git = "https://github.com/mkmik/heappy", rev = "df8c1428a2ff727db239999c458c49fdc2ca270a", features = ["enable_heap_profiler", "jemalloc_shim", "measure_free"], optional = true }
|
2021-11-19 14:21:57 +00:00
|
|
|
workspace-hack = { path = "../workspace-hack"}
|
2021-10-26 08:46:57 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-04-29 14:32:40 +00:00
|
|
|
# In alphabetical order
|
2021-10-26 08:46:57 +00:00
|
|
|
arrow_util = { path = "../arrow_util" }
|
|
|
|
assert_cmd = "2.0.2"
|
2021-11-29 08:40:45 +00:00
|
|
|
predicates = "2.1.0"
|
2021-10-26 08:46:57 +00:00
|
|
|
tempfile = "3.1.0"
|
2022-04-29 14:32:40 +00:00
|
|
|
test_helpers = { path = "../test_helpers", features = ["future_timeout"] }
|
|
|
|
test_helpers_end_to_end_ng = { path = "../test_helpers_end_to_end_ng" }
|
2021-10-26 08:46:57 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["jemalloc_replacing_malloc"]
|
|
|
|
|
|
|
|
azure = ["object_store/azure"] # Optional Azure Object store support
|
|
|
|
gcp = ["object_store/gcp"] # Optional GCP object store support
|
|
|
|
aws = ["object_store/aws"] # Optional AWS / S3 object store support
|
2022-04-08 17:46:01 +00:00
|
|
|
pprof = ["ioxd_common/pprof"] # Optional http://localhost:8080/debug/pprof/profile support
|
2021-10-26 08:46:57 +00:00
|
|
|
|
2022-04-12 10:33:27 +00:00
|
|
|
# Enable tokio_console support (https://github.com/tokio-rs/console)
|
|
|
|
#
|
|
|
|
# Requires enabling trace level tracing events for [tokio,runtime].
|
|
|
|
tokio_console = ["console-subscriber", "tokio/tracing", "observability_deps/release_max_level_trace"]
|
|
|
|
|
2021-10-26 08:46:57 +00:00
|
|
|
# heappy is an optional feature; Not on by default as it
|
|
|
|
# runtime overhead on all allocations (calls to malloc).
|
|
|
|
# Cargo cannot currently implement mutually exclusive features so let's force every build
|
|
|
|
# to pick either heappy or jemalloc_replacing_malloc feature at least until we figure out something better.
|
2022-03-31 19:14:21 +00:00
|
|
|
jemalloc_replacing_malloc = ["tikv-jemalloc-sys", "tikv-jemalloc-ctl"]
|
2021-11-11 09:48:21 +00:00
|
|
|
|
|
|
|
# Implicit feature selected when running under `clippy --all-features` to accept mutable exclusive features during
|
|
|
|
# linting
|
|
|
|
clippy = []
|