-
Notifications
You must be signed in to change notification settings - Fork 11.3k
/
Copy pathCargo.toml
50 lines (46 loc) · 1.52 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "telemetry-subscribers"
version = "0.2.0"
license = "Apache-2.0"
authors = ["Evan Chan <echan@mystenlabs.com>"]
description = "Library for common telemetry and observability functionality"
repository = "https://github.com/mystenlabs/mysten-infra"
edition = "2021"
publish = false
[dependencies]
atomic_float.workspace = true
console-subscriber = { workspace = true, optional = true }
crossterm.workspace = true
once_cell.workspace = true
prometheus.workspace = true
tracing.workspace = true
tracing-appender.workspace = true
tracing-subscriber.workspace = true
opentelemetry = { version = "0.25.0", optional = true }
opentelemetry_api = { version = "0.20.0", optional = true }
opentelemetry_sdk = { version = "0.25.0", features = ["rt-tokio"], optional = true }
opentelemetry-otlp = { version = "0.25.0", features = ["grpc-tonic"], optional = true }
tracing-opentelemetry = { version = "0.26.0", optional = true }
opentelemetry-proto = { version = "0.25", optional = true }
tokio = { workspace = true, features = ["full"] }
futures.workspace = true
clap.workspace = true
bytes.workspace = true
bytes-varint = { version = "1" }
# must use same version as opentelemetry for tonic and prost, so we can't use from
# workspace
tonic = { version = "0.12.3" }
prost = "0.13"
[features]
default = ["otlp"]
tokio-console = ["console-subscriber"]
otlp = [
"tracing-opentelemetry",
"opentelemetry",
"opentelemetry-otlp",
"opentelemetry-proto",
"opentelemetry_api",
"opentelemetry_sdk"
]
[dev-dependencies]
camino.workspace = true