[[bench]]
harness = false
name = "trace"
[[bench]]
harness = false
name = "batch_span_processor"
required-features = ["rt-tokio", "testing"]
[[bench]]
harness = false
name = "metric"
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 = "5.1.0"
[dependencies.fnv]
optional = true
version = "1.0"
[dependencies.futures-channel]
version = "0.3"
[dependencies.futures-executor]
version = "0.3"
[dependencies.futures-util]
default-features = false
features = ["std", "sink", "async-await-macro"]
version = "0.3.17"
[dependencies.http]
optional = true
version = "0.2"
[dependencies.once_cell]
version = "1.10"
[dependencies.opentelemetry-http]
optional = true
version = "0.8"
[dependencies.opentelemetry_api]
version = "0.19"
[dependencies.percent-encoding]
optional = true
version = "2.0"
[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.serde_json]
optional = true
version = "1"
[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"
[dependencies.url]
optional = true
version = "2.2"
[dev-dependencies.bincode]
version = "1.2"
[dev-dependencies.criterion]
version = "0.4.0"
[dev-dependencies.crossbeam-queue]
version = "0.3.1"
[dev-dependencies.rand_distr]
version = "0.4.0"
[features]
default = ["trace"]
jaeger_remote_sampler = ["trace", "opentelemetry-http", "http", "serde", "serde_json", "url"]
metrics = ["opentelemetry_api/metrics", "dashmap", "fnv"]
rt-async-std = ["async-std"]
rt-tokio = ["tokio", "tokio-stream"]
rt-tokio-current-thread = ["tokio", "tokio-stream"]
testing = ["opentelemetry_api/testing", "trace", "metrics", "rt-async-std", "rt-tokio", "rt-tokio-current-thread", "tokio/macros", "tokio/rt-multi-thread"]
trace = ["opentelemetry_api/trace", "crossbeam-channel", "rand", "async-trait", "percent-encoding"]
[package]
description = "The SDK for the OpenTelemetry metrics collection and distributed tracing framework"
edition = "2021"
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
license = "Apache-2.0"
name = "opentelemetry_sdk"
readme = "README.md"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
resolver = "1"
rust-version = "1.60"
version = "0.19.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]