forked from frigus02/opentelemetry-application-insights
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
93 lines (81 loc) · 2.69 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[package]
name = "opentelemetry-application-insights"
version = "0.20.0"
authors = ["Jan Kuehle <[email protected]>"]
edition = "2018"
description = "OpenTelemetry exporter for Azure Application Insights"
readme = "README.md"
repository = "https://github.com/frigus02/opentelemetry-application-insights"
license = "MIT"
keywords = ["opentelemetry", "tracing"]
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
]
exclude = [
".github/*",
"README.tpl",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
reqwest-blocking-client = ["reqwest-client"]
reqwest-blocking-client-rustls = ["reqwest-client-rustls"]
reqwest-client = ["opentelemetry-http/reqwest", "reqwest/native-tls"]
reqwest-client-rustls = ["opentelemetry-http/reqwest", "reqwest/rustls-tls"]
surf-client = ["opentelemetry-http/surf"]
metrics = ["opentelemetry/metrics", "ureq"]
[dependencies]
async-trait = "0.1"
bytes = "1"
chrono = "0.4"
flate2 = "1"
http = "0.2"
once_cell = "1"
opentelemetry = "0.17"
opentelemetry-http = "0.6"
opentelemetry-semantic-conventions = "0.9"
reqwest = { version = "0.11", default-features = false, features = ["blocking"], optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
ureq = { version = "2", optional = true }
[dev-dependencies]
async-std = { version = "1.10.0", features = ["attributes"] }
backtrace = "0.3.64"
doc-comment = "0.3.3"
env_logger = "0.9.0"
insta = "1.13.0"
opentelemetry = { version = "0.17", features = ["rt-async-std", "rt-tokio", "rt-tokio-current-thread"] }
opentelemetry-application-insights = { path = ".", features = ["reqwest-client", "reqwest-blocking-client"] }
rand = "0.8.5"
regex = "1.5.5"
surf = "2.3.2"
test-case = "2.0.0"
tokio = { version = "1.17.0", features = ["rt", "macros", "process", "time"] }
version-sync = { version = "0.9.4", default-features = false, features = ["html_root_url_updated", "contains_regex"] }
[badges]
github = { repository = "frigus02/opentelemetry-application-insights", workflow = "CI" }
[[example]]
name = "attributes"
required-features = ["reqwest-client"]
[[example]]
name = "http_client_reqwest"
required-features = ["reqwest-client", "opentelemetry/rt-tokio"]
[[example]]
name = "http_client_reqwest_blocking"
required-features = ["reqwest-client"]
[[example]]
name = "http_client_surf"
required-features = ["surf-client", "opentelemetry/rt-async-std"]
[[example]]
name = "metrics"
required-features = ["metrics"]
[[example]]
name = "opentelemetry"
required-features = ["reqwest-client", "opentelemetry/rt-tokio"]
[[example]]
name = "stress_test"
required-features = ["reqwest-client", "opentelemetry/rt-tokio"]