2021-10-26 08:46:57 +00:00
|
|
|
[package]
|
2024-01-08 16:50:59 +00:00
|
|
|
name = "influxdb3"
|
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
|
|
|
|
2024-01-08 16:50:59 +00:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2021-10-26 08:46:57 +00:00
|
|
|
[dependencies]
|
2022-03-03 16:48:30 +00:00
|
|
|
clap_blocks = { path = "../clap_blocks" }
|
2024-01-08 16:50:59 +00:00
|
|
|
influxdb3_server = { path = "../influxdb3_server" }
|
|
|
|
iox_time = { path = "../iox_time" }
|
|
|
|
iox_query = { path = "../iox_query" }
|
2022-03-29 13:07:19 +00:00
|
|
|
ioxd_common = { path = "../ioxd_common"}
|
2024-02-20 21:14:19 +00:00
|
|
|
influxdb3_client = { path = "../influxdb3_client" }
|
2024-01-08 16:50:59 +00:00
|
|
|
influxdb3_write = { path = "../influxdb3_write" }
|
2021-10-26 08:46:57 +00:00
|
|
|
metric = { path = "../metric" }
|
2023-05-26 11:03:42 +00:00
|
|
|
object_store = { workspace = true }
|
2021-10-26 08:46:57 +00:00
|
|
|
observability_deps = { path = "../observability_deps" }
|
|
|
|
panic_logging = { path = "../panic_logging" }
|
|
|
|
parquet_file = { path = "../parquet_file" }
|
2023-06-29 11:11:44 +00:00
|
|
|
tokio_metrics_bridge = { path = "../tokio_metrics_bridge" }
|
2024-01-08 16:50:59 +00:00
|
|
|
trace = { path = "../trace/" }
|
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
|
|
|
|
backtrace = "0.3"
|
2023-09-14 15:28:15 +00:00
|
|
|
clap = { version = "4", features = ["derive", "env", "string"] }
|
2023-07-04 12:13:49 +00:00
|
|
|
console-subscriber = { version = "0.1.10", optional = true, features = ["parking_lot"] }
|
2023-03-23 02:02:33 +00:00
|
|
|
dotenvy = "0.15.7"
|
2021-10-26 08:46:57 +00:00
|
|
|
libc = { version = "0.2" }
|
2023-06-30 08:32:43 +00:00
|
|
|
num_cpus = "1.16.0"
|
2023-06-05 02:03:15 +00:00
|
|
|
once_cell = { version = "1.18", features = ["parking_lot"] }
|
2024-01-08 16:50:59 +00:00
|
|
|
parking_lot = "0.12.1"
|
2024-02-20 21:14:19 +00:00
|
|
|
secrecy = "0.8.0"
|
2023-09-04 09:21:22 +00:00
|
|
|
thiserror = "1.0.48"
|
2023-07-28 12:45:43 +00:00
|
|
|
tikv-jemalloc-ctl = { version = "0.5.4", optional = true }
|
2024-01-08 16:50:59 +00:00
|
|
|
tikv-jemalloc-sys = { version = "0.5.4", optional = true, features = ["unprefixed_malloc_on_supported_platforms"] }
|
2023-08-17 08:06:29 +00:00
|
|
|
tokio = { version = "1.32", features = ["macros", "net", "parking_lot", "rt-multi-thread", "signal", "sync", "time", "io-std"] }
|
2024-01-08 16:50:59 +00:00
|
|
|
tokio-util = { version = "0.7.9" }
|
2024-02-20 21:14:19 +00:00
|
|
|
url = "2.5.0"
|
2022-06-17 10:28:28 +00:00
|
|
|
uuid = { version = "1", features = ["v4"] }
|
2024-01-09 20:11:35 +00:00
|
|
|
workspace-hack = { version = "0.1", path = "../workspace-hack" }
|
2024-02-20 20:34:39 +00:00
|
|
|
sha2 = "0.10.8"
|
|
|
|
hex = "0.4.3"
|
2021-10-26 08:46:57 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["jemalloc_replacing_malloc"]
|
|
|
|
|
2023-05-22 13:08:20 +00:00
|
|
|
azure = ["clap_blocks/azure"] # Optional Azure Object store support
|
|
|
|
gcp = ["clap_blocks/gcp"] # Optional GCP object store support
|
|
|
|
aws = ["clap_blocks/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 = []
|
2024-02-20 20:34:39 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
reqwest = { version = "0.11.24", default-features = false, features = ["rustls-tls"] }
|