diff --git a/opentelemetry-stackdriver/CHANGELOG.md b/opentelemetry-stackdriver/CHANGELOG.md index 747ca0d9..a235c368 100644 --- a/opentelemetry-stackdriver/CHANGELOG.md +++ b/opentelemetry-stackdriver/CHANGELOG.md @@ -2,13 +2,18 @@ ## vNext +## v0.19.0 + ### Added -- Added support for `GoogleTraceContextPropagator` +- Added support for `GoogleTraceContextPropagator` [#25](https://github.com/open-telemetry/opentelemetry-rust-contrib/pull/25) ### Changed -- Bump opentelemetry version to 0.22, opentelemetry_sdk version to 0.22 +- Use gcp_auth as the default authorizer [#50](https://github.com/open-telemetry/opentelemetry-rust-contrib/pull/50) + yup-oauth2 is still supported and can be enabled via the `yup-authorizer` feature. +- Bump opentelemetry version to 0.22, opentelemetry_sdk version to 0.22 [#39](https://github.com/open-telemetry/opentelemetry-rust-contrib/pull/39) +- Bump gcp_auth to 0.11 [#50](https://github.com/open-telemetry/opentelemetry-rust-contrib/pull/50) ## v0.18.0 diff --git a/opentelemetry-stackdriver/Cargo.toml b/opentelemetry-stackdriver/Cargo.toml index 6067d964..d7fdc437 100644 --- a/opentelemetry-stackdriver/Cargo.toml +++ b/opentelemetry-stackdriver/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "opentelemetry-stackdriver" -version = "0.18.0" +version = "0.19.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" +repository = "https://github.com/open-telemetry/opentelemetry-rust-contrib" license = "Apache-2.0" edition = "2021" exclude = ["/proto"] @@ -11,7 +11,7 @@ rust-version = "1.65" [dependencies] async-trait = "0.1.48" -gcp_auth = { version = "0.9", optional = true } +gcp_auth = { version = "0.11", optional = true } hex = "0.4" http = "0.2" hyper = "0.14.2" @@ -32,8 +32,8 @@ futures-util = { version = "0.3", default-features = false, features = ["alloc"] futures-channel = { version = "0.3", default-features = false, features = ["std"] } [features] -default = ["yup-authorizer", "tls-native-roots"] -yup-authorizer = ["hyper-rustls", "yup-oauth2"] +default = ["dep:gcp_auth", "tls-native-roots"] +yup-authorizer = ["hyper-rustls", "dep:yup-oauth2"] tls-native-roots = ["tonic/tls-roots"] tls-webpki-roots = ["tonic/tls-webpki-roots"] propagator = ["once_cell"] diff --git a/opentelemetry-stackdriver/src/lib.rs b/opentelemetry-stackdriver/src/lib.rs index b4fe7e9d..e3558916 100644 --- a/opentelemetry-stackdriver/src/lib.rs +++ b/opentelemetry-stackdriver/src/lib.rs @@ -12,7 +12,6 @@ use std::{ collections::HashMap, - convert::TryFrom, fmt, future::Future, sync::{