5a97888d8b
From now on we will add the dependencies and their version in the root Cargo.toml and in order to enable the dependency for a workspace member we set `workspace = true` in the member's Cargo.toml. Change-Id: I9738c1cf99810b7ace87ca712c3ea965ba846e25 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12389 Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
54 lines
1.4 KiB
TOML
54 lines
1.4 KiB
TOML
[package]
|
|
name = "tvix-tracing"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
lazy_static = { workspace = true }
|
|
tracing = { workspace = true, features = ["max_level_trace", "release_max_level_debug"] }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
indicatif = { workspace = true }
|
|
tracing-indicatif = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync", "rt"] }
|
|
thiserror = { workspace = true }
|
|
|
|
tracing-opentelemetry = { workspace = true, optional = true }
|
|
opentelemetry = { workspace = true, optional = true }
|
|
opentelemetry-otlp = { workspace = true, optional = true }
|
|
opentelemetry_sdk = { workspace = true, features = ["rt-tokio"], optional = true }
|
|
tracing-tracy = { workspace = true, features = ["flush-on-exit"], optional = true }
|
|
opentelemetry-http = { workspace = true, optional = true }
|
|
|
|
tonic = { workspace = true, optional = true }
|
|
http = { workspace = true, optional = true }
|
|
|
|
reqwest-tracing = { workspace = true, optional = true }
|
|
|
|
axum = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
otlp = [
|
|
"dep:tracing-opentelemetry",
|
|
"dep:opentelemetry",
|
|
"dep:opentelemetry-otlp",
|
|
"dep:opentelemetry_sdk",
|
|
"dep:opentelemetry-http",
|
|
"reqwest-tracing?/opentelemetry_0_22",
|
|
]
|
|
tracy = [
|
|
"dep:tracing-tracy"
|
|
]
|
|
tonic = [
|
|
"dep:tonic",
|
|
"dep:http",
|
|
]
|
|
reqwest = [
|
|
"dep:reqwest-tracing",
|
|
]
|
|
axum = [
|
|
"dep:axum",
|
|
]
|
|
|
|
[lints]
|
|
workspace = true
|