[package]
name = "opentelemetry"
version = "0.20.0"
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",
"api-bindings",
"asynchronous",
]
keywords = ["opentelemetry", "logging", "tracing", "metrics", "async"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.60"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
opentelemetry_api = { version = "0.20", path = "../opentelemetry-api" }
opentelemetry_sdk = { version = "0.20", path = "../opentelemetry-sdk" }
[dev-dependencies]
opentelemetry-stdout = { version = "0.1", path = "../opentelemetry-stdout", features = ["trace"] }
[features]
default = ["trace"]
trace = ["opentelemetry_api/trace", "opentelemetry_sdk/trace"]
metrics = ["opentelemetry_api/metrics", "opentelemetry_sdk/metrics"]
logs = ["opentelemetry_sdk/logs"]
logs_level_enabled = ["logs"]
testing = ["opentelemetry_api/testing", "opentelemetry_sdk/testing"]
rt-tokio = ["opentelemetry_sdk/rt-tokio"]
rt-tokio-current-thread = ["opentelemetry_sdk/rt-tokio-current-thread"]
rt-async-std = ["opentelemetry_sdk/rt-async-std"]