-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathCargo.toml
68 lines (65 loc) · 2.15 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "axum-tracing-opentelemetry"
description = "Middlewares and tools to integrate axum + tracing + opentelemetry"
readme = "README.md"
keywords = ["axum", "tracing", "opentelemetry"]
categories = [
"development-tools::debugging",
"development-tools::profiling",
"web-programming",
]
homepage = "https://github.com/davidB/tracing-opentelemetry-instrumentation-sdk/tree/main/axum-tracing-opentelemetry"
rust-version.workspace = true
edition.workspace = true
version = "0.26.2"
authors.workspace = true
repository.workspace = true
license.workspace = true
[dependencies]
axum = { workspace = true, features = ["matched-path"] }
futures-core = "0.3"
futures-util = { version = "0.3", default-features = false, features = [] }
http = { workspace = true }
opentelemetry = { workspace = true, features = [
"trace",
], default-features = false }
pin-project-lite = "0.2"
tower = { workspace = true }
tracing = { workspace = true }
tracing-opentelemetry = { workspace = true }
tracing-opentelemetry-instrumentation-sdk = { path = "../tracing-opentelemetry-instrumentation-sdk", features = [
"http",
], version = "0.26" }
[dev-dependencies]
fake-opentelemetry-collector = { path = "../fake-opentelemetry-collector" }
testing-tracing-opentelemetry = { path = "../testing-tracing-opentelemetry" }
assert2 = { workspace = true }
hyper = { workspace = true }
insta = { workspace = true }
opentelemetry-otlp = { workspace = true, features = [
"http-proto",
"reqwest-client",
"reqwest-rustls",
] }
opentelemetry-proto = { workspace = true, features = ["gen-tonic"] }
rstest = { workspace = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { workspace = true, features = ["full"] }
tokio-stream = { workspace = true, features = ["net"] }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"env-filter",
"fmt",
"json",
] }
# need tokio runtime to run smoke tests.
opentelemetry_sdk = { workspace = true, features = [
"trace",
"rt-tokio",
"testing",
] }
[features]
# to use level `info` instead of `trace` to create otel span
tracing_level_info = [
"tracing-opentelemetry-instrumentation-sdk/tracing_level_info",
]