-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
56 lines (50 loc) Β· 1.6 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
[package]
name = "opentelemetry-surf"
version = "0.6.0"
authors = ["Christoph Grabo <asaaki@mannaz.cc>"]
edition = "2018"
readme = "README.md"
description = "OpenTelemetry integration for surf"
homepage = "https://github.com/asaaki/opentelemetry-surf"
repository = "https://github.com/asaaki/opentelemetry-surf"
categories = [
"web-programming::http-client",
"web-programming",
"network-programming",
"development-tools::debugging",
"development-tools::profiling",
]
keywords = ["surf", "opentelemetry", "jaeger", "tracing", "instrumentation"]
license = "MIT OR Apache-2.0"
exclude = [".assets/*", ".github/*", "README.tpl"]
# resolver = "2"
[[example]]
name = "simple"
path = "examples/client/simple.rs"
[[example]]
name = "client"
path = "examples/client/client.rs"
[[example]]
name = "metrics"
path = "examples/client/metrics.rs"
[features]
default = []
isahc-metrics = ["isahc"]
[dependencies]
http-types = "2.12"
# depends on http-client supported isahc version
isahc = { version = "0.9", optional = true, default-features = false, features = ["http2"] }
kv-log-macro = "1.0"
opentelemetry = "0.17"
opentelemetry-semantic-conventions = "0.9"
surf = "2.3"
url = "2.2"
[dev-dependencies]
async-std = { version = "1.10", features = ["attributes"] }
femme = "2.1"
http-client = "6.5"
isahc = { version = "0.9", default-features = false, features = ["http2"] }
opentelemetry = { version = "0.17", features = ["rt-async-std"] }
opentelemetry-jaeger = { version = "0.16", features = ["rt-async-std"] }
opentelemetry-surf = { path = ".", features = ["isahc-metrics"] }
surf = { version = "2.3", features = ["curl-client"] }