[package]
name = "opentelemetry-zipkin"
version = "0.14.0"
authors = ["OpenTelemetry Authors <cncf-opentelemetry-contributors@lists.cncf.io>"]
description = "Zipkin exporter for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-zipkin"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-zipkin"
readme = "README.md"
categories = [
    "development-tools::debugging",
    "development-tools::profiling",
    "asynchronous",
]
keywords = ["opentelemetry", "zipkin", "tracing", "async"]
license = "Apache-2.0"
edition = "2018"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
default = ["reqwest-blocking-client", "reqwest/native-tls"]
reqwest-blocking-client = ["reqwest/blocking", "opentelemetry-http/reqwest"]
reqwest-client = ["reqwest", "opentelemetry-http/reqwest"]
reqwest-rustls = ["reqwest", "reqwest/rustls-tls-native-roots"]
surf-client = ["surf", "opentelemetry-http/surf"]

[dependencies]
async-trait = "0.1"
opentelemetry = { version = "0.16", path = "../opentelemetry", features = ["trace"] }
opentelemetry-http = { version = "0.5", path = "../opentelemetry-http", optional = true }
opentelemetry-semantic-conventions = { version = "0.8", path = "../opentelemetry-semantic-conventions" }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
typed-builder = "0.9"
lazy_static = "1.4"
http = "0.2"
reqwest = { version = "0.11", optional = true, default-features = false }
surf = { version = "2.0", optional = true, default-features = false }
thiserror = { version = "1.0"}

[dev-dependencies]
bytes = "1"
futures-util = { version = "0.3", features = ["io"] }
isahc = "1.4"
opentelemetry = { default-features = false, features = ["trace", "testing"], path = "../opentelemetry" }
