2021-10-26 08:46:57 +00:00
|
|
|
[package]
|
|
|
|
name = "influxdb_iox"
|
|
|
|
default-run = "influxdb_iox"
|
2022-09-26 14:43:00 +00:00
|
|
|
version.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
2021-10-26 08:46:57 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
# Workspace dependencies, in alphabetical order
|
2022-03-03 16:48:30 +00:00
|
|
|
clap_blocks = { path = "../clap_blocks" }
|
2022-08-05 15:33:49 +00:00
|
|
|
compactor = { path = "../compactor" }
|
2022-05-05 19:29:24 +00:00
|
|
|
data_types = { path = "../data_types" }
|
2022-10-24 17:47:45 +00:00
|
|
|
datafusion = { workspace = true }
|
2021-10-26 08:46:57 +00:00
|
|
|
generated_types = { path = "../generated_types" }
|
2022-08-10 09:07:38 +00:00
|
|
|
import = { path = "../import" }
|
2022-09-29 11:12:51 +00:00
|
|
|
influxdb_iox_client = { path = "../influxdb_iox_client", features = ["flight", "format"] }
|
2022-02-02 16:23:00 +00:00
|
|
|
influxdb_storage_client = { path = "../influxdb_storage_client" }
|
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" }
|
2022-12-19 11:35:20 +00:00
|
|
|
iox_arrow_flight = { path = "../iox_arrow_flight" }
|
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"}
|
2023-01-09 16:53:49 +00:00
|
|
|
ioxd_ingest_replica = { path = "../ioxd_ingest_replica" }
|
2022-04-03 10:42:22 +00:00
|
|
|
ioxd_ingester = { path = "../ioxd_ingester"}
|
2022-11-30 21:28:23 +00:00
|
|
|
ioxd_ingester2 = { path = "../ioxd_ingester2"}
|
2022-07-25 12:44:37 +00:00
|
|
|
ioxd_garbage_collector = { path = "../ioxd_garbage_collector" }
|
2022-03-31 16:03:31 +00:00
|
|
|
ioxd_querier = { path = "../ioxd_querier"}
|
2022-07-18 21:27:38 +00:00
|
|
|
ioxd_router = { path = "../ioxd_router"}
|
2022-04-03 10:42:22 +00:00
|
|
|
ioxd_test = { path = "../ioxd_test"}
|
2021-10-26 08:46:57 +00:00
|
|
|
metric = { path = "../metric" }
|
2022-12-06 07:53:54 +00:00
|
|
|
object_store = "0.5.2"
|
2022-05-10 10:56:28 +00:00
|
|
|
object_store_metrics = { path = "../object_store_metrics" }
|
2021-10-26 08:46:57 +00:00
|
|
|
observability_deps = { path = "../observability_deps" }
|
|
|
|
panic_logging = { path = "../panic_logging" }
|
|
|
|
parquet_file = { path = "../parquet_file" }
|
2022-09-26 14:17:27 +00:00
|
|
|
parquet_to_line_protocol = { path = "../parquet_to_line_protocol" }
|
2022-05-18 09:38:35 +00:00
|
|
|
iox_query = { path = "../iox_query" }
|
2022-02-04 16:12:52 +00:00
|
|
|
schema = { path = "../schema" }
|
2022-06-09 20:49:22 +00:00
|
|
|
sharder = { path = "../sharder" }
|
2022-04-26 00:19:59 +00:00
|
|
|
iox_time = { path = "../iox_time" }
|
2021-10-26 08:46:57 +00:00
|
|
|
trace_exporters = { path = "../trace_exporters" }
|
2022-01-17 11:12:46 +00:00
|
|
|
trogging = { path = "../trogging", default-features = false, features = ["clap"] }
|
2021-10-26 08:46:57 +00:00
|
|
|
|
|
|
|
# Crates.io dependencies, in alphabetical order
|
2022-09-19 08:17:01 +00:00
|
|
|
nu-ansi-term = "0.46.0"
|
2022-10-24 17:58:38 +00:00
|
|
|
arrow = { workspace = true, features = ["prettyprint"] }
|
2021-10-26 08:46:57 +00:00
|
|
|
backtrace = "0.3"
|
2022-11-22 08:23:24 +00:00
|
|
|
bytes = "1.3"
|
2022-09-29 11:14:38 +00:00
|
|
|
clap = { version = "4", features = ["derive", "env"] }
|
2022-10-21 17:40:12 +00:00
|
|
|
comfy-table = { version = "6.1", default-features = false }
|
2022-09-06 12:46:07 +00:00
|
|
|
console-subscriber = { version = "0.1.8", optional = true, features = ["parking_lot"] }
|
2022-10-18 07:06:40 +00:00
|
|
|
dotenvy = "0.15.6"
|
2021-10-26 08:46:57 +00:00
|
|
|
futures = "0.3"
|
2022-09-30 21:02:38 +00:00
|
|
|
futures-util = { version = "0.3" }
|
|
|
|
flate2 = "1.0"
|
2022-11-11 17:12:30 +00:00
|
|
|
hashbrown = { workspace = true }
|
2022-06-07 13:35:01 +00:00
|
|
|
http = "0.2.8"
|
2021-10-26 08:46:57 +00:00
|
|
|
humantime = "2.1.0"
|
2022-09-21 08:15:59 +00:00
|
|
|
itertools = "0.10.5"
|
2021-10-26 08:46:57 +00:00
|
|
|
libc = { version = "0.2" }
|
2022-12-21 15:17:55 +00:00
|
|
|
num_cpus = "1.15.0"
|
2023-01-02 17:07:15 +00:00
|
|
|
once_cell = { version = "1.17", features = ["parking_lot"] }
|
2022-07-18 08:10:22 +00:00
|
|
|
rustyline = { version = "10.0", default-features = false }
|
2022-12-19 01:44:18 +00:00
|
|
|
serde_json = "1.0.91"
|
2022-01-11 19:22:36 +00:00
|
|
|
snafu = "0.7"
|
2022-12-19 10:33:32 +00:00
|
|
|
thiserror = "1.0.38"
|
2022-09-02 10:45:13 +00:00
|
|
|
tikv-jemalloc-ctl = { version = "0.5.0", optional = true }
|
2023-01-10 09:48:44 +00:00
|
|
|
tokio = { version = "1.24", 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-10-28 11:03:08 +00:00
|
|
|
tokio-util = { version = "0.7.4", features = ["compat"] }
|
2022-08-09 17:30:44 +00:00
|
|
|
tonic = "0.8"
|
2022-06-17 10:28:28 +00:00
|
|
|
uuid = { version = "1", features = ["v4"] }
|
2021-10-26 08:46:57 +00:00
|
|
|
# jemalloc-sys with unprefixed_malloc_on_supported_platforms feature and heappy are mutually exclusive
|
2022-09-02 10:45:13 +00:00
|
|
|
tikv-jemalloc-sys = { version = "0.5.0", optional = true, features = ["unprefixed_malloc_on_supported_platforms"] }
|
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" }
|
2023-01-10 01:06:02 +00:00
|
|
|
assert_cmd = "2.0.8"
|
2022-05-05 20:08:44 +00:00
|
|
|
predicate = { path = "../predicate" }
|
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"] }
|
2022-05-12 18:50:23 +00:00
|
|
|
test_helpers_end_to_end = { path = "../test_helpers_end_to_end" }
|
2021-10-26 08:46:57 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["jemalloc_replacing_malloc"]
|
|
|
|
|
2022-08-10 09:07:38 +00:00
|
|
|
azure = ["clap_blocks/azure", "import/azure"] # Optional Azure Object store support
|
|
|
|
gcp = ["clap_blocks/gcp", "import/gcp"] # Optional GCP object store support
|
|
|
|
aws = ["clap_blocks/aws", "import/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
|
2022-06-21 19:53:28 +00:00
|
|
|
heappy = ["ioxd_common/heappy"] # Optional http://localhost:8080/debug/pproc/alloc 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 = []
|