[package]
name = "opentelemetry-stackdriver"
version = "0.12.0"
description = "A Rust opentelemetry exporter that uploads traces to Google Stackdriver trace."
documentation = "https://docs.rs/opentelemetry-stackdriver/"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
license = "Apache-2.0"
authors = ["Xaeroxe <kieseljake@gmail.com>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[build-dependencies]
tonic-build = "0.6.0"
which = "4.0.2"

[dependencies]
async-trait = "0.1.48"
futures = { version = "0.3", default-features = false }
gcp_auth = { version = "0.6.1", optional = true }
hex = "0.4"
http = "0.2"
hyper = "0.14.2"
hyper-rustls = { version = "0.22.1", optional = true }
log = "0.4"
opentelemetry = { version = "0.16", path = "../opentelemetry" }
prost = "0.9"
prost-types = "0.9"
rustls = "0.19"
tonic = { version = "0.6.2", features = ["tls", "transport"] }
tokio = { version = "1.1", optional = true }
yup-oauth2 = { version = "6.2.0", optional = true }
webpki-roots = "0.21"

[features]
default = ["yup-authorizer"]
yup-authorizer = ["hyper-rustls", "yup-oauth2"]
tokio_adapter = ["tokio"]
