From bda58f7445bf9e43f9b4d707a4fa1f442b4d3e34 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 14 Mar 2024 09:07:18 +0100 Subject: [PATCH] stackdriver: switch default authenticator to gcp_auth As the primary maintainer, I use the gcp_auth authenticator. I am also the primary maintainer for gcp_auth. --- opentelemetry-stackdriver/Cargo.toml | 4 ++-- opentelemetry-stackdriver/src/lib.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/opentelemetry-stackdriver/Cargo.toml b/opentelemetry-stackdriver/Cargo.toml index 06fb20ed..63445fe7 100644 --- a/opentelemetry-stackdriver/Cargo.toml +++ b/opentelemetry-stackdriver/Cargo.toml @@ -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::{