[package] name = "ioxd_common" version.workspace = true authors.workspace = true edition.workspace = true license.workspace = true # Optional feature 'pprof' enables http://localhost:8080/debug/pprof/profile support support [dependencies] # Workspace dependencies, in alphabetical order clap_blocks = { path = "../clap_blocks" } data_types = { path = "../data_types" } generated_types = { path = "../generated_types" } heappy = { git = "https://github.com/mkmik/heappy", rev = "1d6ac77a4026fffce8680a7b31a9f6e9859b5e73", features = ["enable_heap_profiler", "jemalloc_shim", "measure_free"], optional = true } metric = { path = "../metric" } metric_exporters = { path = "../metric_exporters" } observability_deps = { path = "../observability_deps" } # NOTE: we may not notice that we need the "backtrace-rs" feature if we also build with the heappy feature, which depends on backtrace-rs. # (honestly I thought that cargo dependencies were isolated on a per crate basis so I'm a bit surprised that pprof accidentally builds # successfully just because another crate happens to depend on backtrace-rs) pprof = { version = "0.11", default-features = false, features = ["flamegraph", "prost-codec"], optional = true } service_grpc_testing = { path = "../service_grpc_testing" } trace = { path = "../trace" } trace_exporters = { path = "../trace_exporters" } trace_http = { path = "../trace_http" } # Crates.io dependencies, in alphabetical order async-trait = "0.1" bytes = "1.4" clap = { version = "4", features = ["derive", "env"] } chrono = { version = "0.4", default-features = false } flate2 = "1.0" futures = "0.3" hashbrown = { workspace = true } http = "0.2.9" hyper = "0.14" log = "0.4" parking_lot = "0.12" reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.94" serde_urlencoded = "0.7.0" snafu = "0.7" tokio = { version = "1.26", features = ["macros", "net", "parking_lot", "rt-multi-thread", "signal", "sync", "time"] } tokio-stream = { version = "0.1", features = ["net"] } tokio-util = { version = "0.7.7" } tonic = "0.8" tonic-health = "0.8.0" tonic-reflection = "0.6.0" tower = "0.4" tower-http = { version = "0.4", features = ["catch-panic"] } workspace-hack = { version = "0.1", path = "../workspace-hack" } [dev-dependencies] # Workspace dependencies, in alphabetical order # Crates.io dependencies, in alphabetical order