[[bench]]
harness = false
name = "trace"
[[bench]]
harness = false
name = "batch_span_processor"
required-features = ["rt-tokio"]
[[bench]]
harness = false
name = "metric"
required-features = ["metrics"]
[[bench]]
harness = false
name = "ddsketch"
required-features = ["metrics"]
[dependencies.async-std]
features = ["unstable"]
optional = true
version = "1.6"
[dependencies.async-trait]
optional = true
version = "0.1"
[dependencies.crossbeam-channel]
optional = true
version = "0.5"
[dependencies.dashmap]
optional = true
version = "4.0.1"
[dependencies.fnv]
optional = true
version = "1.0"
[dependencies.futures]
version = "0.3"
[dependencies.lazy_static]
version = "1.4"
[dependencies.percent-encoding]
optional = true
version = "2.0"
[dependencies.pin-project]
optional = true
version = "1.0.2"
[dependencies.rand]
default-features = false
features = ["std", "std_rng"]
optional = true
version = "0.8"
[dependencies.serde]
features = ["derive", "rc"]
optional = true
version = "1.0"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
default-features = false
features = ["rt", "time"]
optional = true
version = "1.0"
[dependencies.tokio-stream]
optional = true
version = "0.1"
[dev-dependencies.bincode]
version = "1.2"
[dev-dependencies.criterion]
version = "0.3.1"
[dev-dependencies.rand_distr]
version = "0.4.0"
[features]
default = ["trace"]
metrics = ["dashmap", "fnv"]
rt-async-std = ["async-std"]
rt-tokio = ["tokio", "tokio-stream"]
rt-tokio-current-thread = ["tokio", "tokio-stream"]
serialize = ["serde"]
testing = ["trace", "metrics", "rt-async-std", "rt-tokio", "rt-tokio-current-thread", "tokio/macros", "tokio/rt-multi-thread"]
trace = ["crossbeam-channel", "rand", "pin-project", "async-trait", "percent-encoding"]
[package]
authors = ["OpenTelemetry Authors <cncf-opentelemetry-contributors@lists.cncf.io>"]
categories = ["development-tools::debugging", "development-tools::profiling", "api-bindings", "asynchronous"]
description = "A metrics collection and distributed tracing framework"
edition = "2018"
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
keywords = ["opentelemetry", "logging", "tracing", "metrics", "async"]
license = "Apache-2.0"
name = "opentelemetry"
readme = "README.md"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
version = "0.16.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys]
version = "0.3"