forked from open-telemetry/opentelemetry-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (48 loc) · 1.44 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
[package]
name = "opentelemetry"
version = "0.4.0"
authors = ["OpenTelemetry Authors <[email protected]>"]
description = "A metrics collection and distributed tracing framework"
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
readme = "README.md"
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
]
keywords = ["opentelemetry", "logging", "tracing", "metrics", "async"]
license = "Apache-2.0"
edition = "2018"
[dependencies]
base64 = { version = "0.12", optional = true }
futures = { version = "0.3.4", optional = true }
lazy_static = "1.4.0"
pin-project = { version = "0.4.6", optional = true }
prometheus = { version = "0.7.0", optional = true }
rand = { version = "0.7.2", optional = true }
serde = { version = "1.0.104", features = ["derive", "rc"], optional = true }
bincode = { version = "1.2.1", optional = true }
[dev-dependencies]
criterion = "0.3.1"
tokio = "0.2"
[features]
default = ["metrics", "trace"]
base64_format = ["base64"]
trace = ["futures", "rand", "pin-project"]
metrics = ["prometheus"]
serialize = ["serde", "bincode"]
[workspace]
members = [
"opentelemetry-jaeger",
"opentelemetry-zipkin",
"examples/actix",
"examples/async",
"examples/basic",
"examples/grpc",
"examples/http",
"examples/zipkin",
]
[[bench]]
name = "trace"
harness = false