[[bench]]
harness = false
name = "anyvalue"
path = "benches/anyvalue.rs"
[[bench]]
harness = false
name = "attributes"
path = "benches/attributes.rs"
[[bench]]
harness = false
name = "metrics"
path = "benches/metrics.rs"
required-features = ["metrics"]
[dependencies.futures-core]
optional = true
version = "0.3"
[dependencies.futures-sink]
optional = true
version = "0.3"
[dependencies.pin-project-lite]
optional = true
version = "0.2"
[dependencies.thiserror]
default-features = false
optional = true
version = "1"
[dependencies.tracing]
default-features = false
optional = true
version = "0.1"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.rand]
default-features = false
version = "0.8"
[features]
default = ["trace", "metrics", "logs", "internal-logs"]
internal-logs = ["tracing"]
logs = []
metrics = []
otel_unstable = []
spec_unstable_logs_enabled = ["logs"]
testing = ["trace", "metrics"]
trace = ["pin-project-lite", "futures-sink", "futures-core", "thiserror"]
[lib]
name = "opentelemetry"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools::debugging", "development-tools::profiling", "api-bindings", "asynchronous"]
description = "OpenTelemetry API for Rust"
edition = "2021"
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
keywords = ["opentelemetry", "logging", "tracing", "metrics"]
license = "Apache-2.0"
name = "opentelemetry"
readme = "README.md"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
rust-version = "1.70"
version = "0.27.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.js-sys]
version = "0.3.63"