influxdb/Cargo.toml

198 lines
5.5 KiB
TOML
Raw Normal View History

[package]
name = "influxdb_iox"
version = "0.1.0"
authors = ["Paul Dix <paul@pauldix.net>"]
edition = "2018"
default-run = "influxdb_iox"
readme = "README.md"
chore: exclude non-source code from package (#2452) Before this change, modifications to the following files would trigger a rebuild on `cargo build`. ``` 2,13d1 < .circleci/config.yml < .circleci/get-deploy-tags.sh < .editorconfig < .gitattributes < .github/ISSUE_TEMPLATE/bug_report.md < .github/ISSUE_TEMPLATE/feature_request.md < .github/PULL_REQUEST_TEMPLATE.md < .github/dependabot.yml < .github/semantic.yml < .gitignore < .kodiak.toml < CONTRIBUTING.md 17,22d4 < Dockerfile < Dockerfile.dockerignore < LICENSE-APACHE < LICENSE-MIT < README.md < buf.yaml 24,76d5 < docker/Dockerfile.ci < docker/Dockerfile.ci.dockerignore < docker/Dockerfile.ci.integration < docker/Dockerfile.ci.integration.dockerignore < docker/Dockerfile.iox < docker/Dockerfile.iox.dockerignore < docker/ci-kafka-docker-compose.yml < docker/integration_test.sh < docs/README.md < docs/catalog_persistence.md < docs/data_management.md < docs/drawings/data_lifecycle.monopic < docs/drawings/data_organization.monopic < docs/encoding_thoughts.md < docs/env.example < docs/images/flame_graph.png < docs/local_filesystems.md < docs/metrics.md < docs/multi_core_tasks.md < docs/profiling.md < docs/protobuf.md < docs/regenerating_flatbuffers.md < docs/server_startup.md < docs/sql.md < docs/style_guide.md < docs/testing.md < docs/tracing.md < docs/valgrind.md < perf/logs/iox_router.log < perf/logs/iox_writer.log < perf/logs/jaeger.log < perf/logs/kafka.log < perf/logs/minio.log < perf/logs/zookeeper.log < perf/volumes/minio/.minio.sys/buckets/.bloomcycle.bin < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/.bloomcycle.bin/fs.json < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/.usage-cache.bin/fs.json < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/.usage.json/fs.json < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/iox1/.usage-cache.bin/fs.json < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/iox2/.usage-cache.bin/fs.json < perf/volumes/minio/.minio.sys/buckets/.tracker.bin < perf/volumes/minio/.minio.sys/buckets/.usage-cache.bin < perf/volumes/minio/.minio.sys/buckets/.usage.json < perf/volumes/minio/.minio.sys/buckets/iox1/.metadata.bin < perf/volumes/minio/.minio.sys/buckets/iox1/.usage-cache.bin < perf/volumes/minio/.minio.sys/buckets/iox2/.metadata.bin < perf/volumes/minio/.minio.sys/buckets/iox2/.usage-cache.bin < perf/volumes/minio/.minio.sys/config/config.json < perf/volumes/minio/.minio.sys/config/iam/format.json < perf/volumes/minio/.minio.sys/format.json < perf/volumes/zookeeper/data/myid < perf/volumes/zookeeper/data/version-2/log.1 < perf/volumes/zookeeper/data/version-2/snapshot.0 79,87d7 < scripts/edit_db_rules < scripts/genlp.py < scripts/git-log-prs < scripts/grpcurl < scripts/jq_edit_db_rules < scripts/logfmts < scripts/prototxt < scripts/valgrind.supp < scripts/valigrind_leak 161d80 < tools/iplan ```
2021-08-31 17:14:02 +00:00
exclude = [
2021-09-02 13:37:28 +00:00
"*.md",
"*.txt",
".circleci/",
".editorconfig",
".git*",
".github/",
".kodiak.toml",
"Dockerfile*",
"LICENSE*",
"buf.yaml",
"docker/",
"docs/",
"massif.out.*",
"perf/",
"scripts/",
"tools/",
]
chore: exclude non-source code from package (#2452) Before this change, modifications to the following files would trigger a rebuild on `cargo build`. ``` 2,13d1 < .circleci/config.yml < .circleci/get-deploy-tags.sh < .editorconfig < .gitattributes < .github/ISSUE_TEMPLATE/bug_report.md < .github/ISSUE_TEMPLATE/feature_request.md < .github/PULL_REQUEST_TEMPLATE.md < .github/dependabot.yml < .github/semantic.yml < .gitignore < .kodiak.toml < CONTRIBUTING.md 17,22d4 < Dockerfile < Dockerfile.dockerignore < LICENSE-APACHE < LICENSE-MIT < README.md < buf.yaml 24,76d5 < docker/Dockerfile.ci < docker/Dockerfile.ci.dockerignore < docker/Dockerfile.ci.integration < docker/Dockerfile.ci.integration.dockerignore < docker/Dockerfile.iox < docker/Dockerfile.iox.dockerignore < docker/ci-kafka-docker-compose.yml < docker/integration_test.sh < docs/README.md < docs/catalog_persistence.md < docs/data_management.md < docs/drawings/data_lifecycle.monopic < docs/drawings/data_organization.monopic < docs/encoding_thoughts.md < docs/env.example < docs/images/flame_graph.png < docs/local_filesystems.md < docs/metrics.md < docs/multi_core_tasks.md < docs/profiling.md < docs/protobuf.md < docs/regenerating_flatbuffers.md < docs/server_startup.md < docs/sql.md < docs/style_guide.md < docs/testing.md < docs/tracing.md < docs/valgrind.md < perf/logs/iox_router.log < perf/logs/iox_writer.log < perf/logs/jaeger.log < perf/logs/kafka.log < perf/logs/minio.log < perf/logs/zookeeper.log < perf/volumes/minio/.minio.sys/buckets/.bloomcycle.bin < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/.bloomcycle.bin/fs.json < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/.usage-cache.bin/fs.json < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/.usage.json/fs.json < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/iox1/.usage-cache.bin/fs.json < perf/volumes/minio/.minio.sys/buckets/.minio.sys/buckets/iox2/.usage-cache.bin/fs.json < perf/volumes/minio/.minio.sys/buckets/.tracker.bin < perf/volumes/minio/.minio.sys/buckets/.usage-cache.bin < perf/volumes/minio/.minio.sys/buckets/.usage.json < perf/volumes/minio/.minio.sys/buckets/iox1/.metadata.bin < perf/volumes/minio/.minio.sys/buckets/iox1/.usage-cache.bin < perf/volumes/minio/.minio.sys/buckets/iox2/.metadata.bin < perf/volumes/minio/.minio.sys/buckets/iox2/.usage-cache.bin < perf/volumes/minio/.minio.sys/config/config.json < perf/volumes/minio/.minio.sys/config/iam/format.json < perf/volumes/minio/.minio.sys/format.json < perf/volumes/zookeeper/data/myid < perf/volumes/zookeeper/data/version-2/log.1 < perf/volumes/zookeeper/data/version-2/snapshot.0 79,87d7 < scripts/edit_db_rules < scripts/genlp.py < scripts/git-log-prs < scripts/grpcurl < scripts/jq_edit_db_rules < scripts/logfmts < scripts/prototxt < scripts/valgrind.supp < scripts/valigrind_leak 161d80 < tools/iplan ```
2021-08-31 17:14:02 +00:00
[[bin]]
name = "print_cpu"
path = "src/print_cpu.rs"
[workspace] # In alphabetical order
members = [
"arrow_util",
"data_types",
"client_util",
"datafusion",
"datafusion_util",
"entry",
"generated_types",
"google_types",
"influxdb2_client",
"influxdb_iox_client",
"influxdb_line_protocol",
"influxdb_storage_client",
"influxdb_tsm",
"internal_types",
"iox_data_generator",
"iox_object_store",
"lifecycle",
"logfmt",
"metric",
"metric_exporters",
"mutable_buffer",
"object_store",
"observability_deps",
"packers",
"panic_logging",
"persistence_windows",
"query",
"query_tests",
"read_buffer",
"server",
"server_benchmarks",
"test_helpers",
"trace",
"trace_exporters",
"trace_http",
"tracker",
"trogging",
"grpc-router",
"grpc-router/grpc-router-test-gen",
"write_buffer",
]
[profile.release]
debug = true
2020-12-04 14:48:19 +00:00
[profile.bench]
debug = true
[dependencies]
# Workspace dependencies, in alphabetical order
datafusion = { path = "datafusion" }
data_types = { path = "data_types" }
entry = { path = "entry" }
generated_types = { path = "generated_types" }
2021-08-12 16:04:42 +00:00
influxdb_iox_client = { path = "influxdb_iox_client", features = ["format"] }
influxdb_line_protocol = { path = "influxdb_line_protocol" }
internal_types = { path = "internal_types" }
2021-09-02 06:08:20 +00:00
iox_object_store = { path = "iox_object_store" }
logfmt = { path = "logfmt" }
2021-08-27 12:55:35 +00:00
metric = { path = "metric" }
metric_exporters = { path = "metric_exporters" }
2021-04-21 11:43:49 +00:00
metrics = { path = "metrics" }
mutable_buffer = { path = "mutable_buffer" }
num_cpus = "1.13.0"
object_store = { path = "object_store" }
observability_deps = { path = "observability_deps" }
panic_logging = { path = "panic_logging" }
2021-09-02 06:08:20 +00:00
parquet_file = { path = "parquet_file" }
query = { path = "query" }
read_buffer = { path = "read_buffer" }
server = { path = "server" }
trace = { path = "trace" }
trace_exporters = { path = "trace_exporters" }
trace_http = { path = "trace_http" }
tracker = { path = "tracker" }
trogging = { path = "trogging", default-features = false, features = ["structopt"] }
# Crates.io dependencies, in alphabetical order
arrow = { version = "5.0", features = ["prettyprint"] }
arrow-flight = "5.0"
backtrace = "0.3"
byteorder = "1.3.4"
bytes = "1.0"
2021-02-05 18:21:24 +00:00
chrono = "0.4"
clap = "2.33.1"
csv = "1.1"
dirs = "3.0.1"
dotenv = "0.15.0"
flate2 = "1.0"
futures = "0.3"
http = "0.2.0"
hyper = "0.14"
libc = { version = "0.2" }
log = "0.4"
once_cell = { version = "1.4.0", features = ["parking_lot"] }
parking_lot = "0.11.2"
2021-06-17 17:56:44 +00:00
itertools = "0.10.1"
parquet = "5.3"
# used by arrow/datafusion anyway
prettytable-rs = "0.8"
pprof = { version = "^0.5", default-features = false, features = ["flamegraph", "protobuf"], optional = true }
prost = "0.8"
# Forked to upgrade hyper and tokio
routerify = { git = "https://github.com/influxdata/routerify", rev = "274e250" }
rustyline = "9.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.67"
2020-09-25 16:22:48 +00:00
serde_urlencoded = "0.7.0"
snafu = "0.6.9"
structopt = "0.3.23"
thiserror = "1.0.28"
tikv-jemalloc-ctl = { version = "0.4.0" }
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "parking_lot", "signal"] }
tokio-stream = { version = "0.1.2", features = ["net"] }
tokio-util = { version = "0.6.3" }
tonic = "0.5.0"
tonic-health = "0.4.0"
tonic-reflection = "0.2.0"
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"] }
heappy = { git = "https://github.com/mkmik/heappy", rev = "20aa466524ac9ce34a4bae29f27ec11869b50e21", features = ["enable_heap_profiler", "jemalloc_shim", "measure_free"], optional = true }
[dev-dependencies]
# Workspace dependencies, in alphabetical order
arrow_util = { path = "arrow_util" }
entry = { path = "entry" }
influxdb2_client = { path = "influxdb2_client" }
influxdb_storage_client = { path = "influxdb_storage_client" }
influxdb_iox_client = { path = "influxdb_iox_client", features = ["flight"] }
test_helpers = { path = "test_helpers" }
synchronized-writer = "1"
parking_lot = "0.11.2"
write_buffer = { path = "write_buffer" }
# Crates.io dependencies, in alphabetical order
assert_cmd = "2.0.0"
flate2 = "1.0"
hex = "0.4.2"
predicates = "2.0.2"
rand = "0.8.3"
rdkafka = "0.26.0"
reqwest = "0.11"
tempfile = "3.1.0"
[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
jaeger = ["trace_exporters/jaeger"] # Enable optional jaeger tracing support
# pprof is an optional feature for pprof support
# 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.
jemalloc_replacing_malloc = ["tikv-jemalloc-sys"]