forked from ttys3/axum-otel-metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
33 lines (29 loc) · 1.38 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
[package]
name = "axum-otel-metrics"
version = "0.7.0"
edition = "2021"
license = "MIT"
description = "axum OpenTelemetry metrics middleware with prometheus exporter"
homepage = "https://ttys3.dev/"
repository = "https://github.com/ttys3/axum-otel-metrics/"
documentation = "https://docs.rs/axum-otel-metrics"
readme = "README.md"
exclude = [".github/*", "examples/*", "tests/*"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = "0.6.20"
opentelemetry = { version = "0.20.0", features = ["metrics", "rt-tokio"] }
opentelemetry-prometheus = { version = "0.13.0", features = ["prometheus-encoding"] }
opentelemetry-semantic-conventions = { version = "0.12.0"}
#axum = { git = "https://github.com/tokio-rs/axum.git", branch = "main"}
#opentelemetry = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", branch = "main", features = ["metrics", "rt-tokio"]}
#opentelemetry-prometheus = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", branch = "main", features = ["prometheus-encoding"] }
#opentelemetry-semantic-conventions = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", branch = "main"}
prometheus = "0.13.3"
tower = "0.4.13"
futures-util = "0.3.29"
pin-project-lite = "0.2.13"
http = "0.2.9"
http-body = "0.4.5"
[dev-dependencies]
tokio = { version = "1.33.0", features = ["macros"] }