fix(reqwest-tracing): fix missing deps (#124)
Missed in https://github.com/TrueLayer/reqwest-middleware/pull/118pull/125/head
parent
d44458f402
commit
d20903e2f7
|
@ -63,5 +63,7 @@ tracing_subscriber_0_3 = { package = "tracing-subscriber", version = "0.3.0" }
|
||||||
wiremock = "0.5.0"
|
wiremock = "0.5.0"
|
||||||
|
|
||||||
opentelemetry_sdk_0_21 = { package = "opentelemetry_sdk", version = "0.21.0", features = ["trace"] }
|
opentelemetry_sdk_0_21 = { package = "opentelemetry_sdk", version = "0.21.0", features = ["trace"] }
|
||||||
|
opentelemetry_sdk_0_22 = { package = "opentelemetry_sdk", version = "0.22.0", features = ["trace"] }
|
||||||
opentelemetry_stdout_0_1 = { package = "opentelemetry-stdout", version = "0.1.0", features = ["trace"] }
|
opentelemetry_stdout_0_1 = { package = "opentelemetry-stdout", version = "0.1.0", features = ["trace"] }
|
||||||
opentelemetry_stdout_0_2 = { package = "opentelemetry-stdout", version = "0.2.0", features = ["trace"] }
|
opentelemetry_stdout_0_2 = { package = "opentelemetry-stdout", version = "0.2.0", features = ["trace"] }
|
||||||
|
opentelemetry_stdout_0_3 = { package = "opentelemetry-stdout", version = "0.3.0", features = ["trace"] }
|
||||||
|
|
|
@ -152,8 +152,10 @@ mod test {
|
||||||
use opentelemetry::trace::TracerProvider;
|
use opentelemetry::trace::TracerProvider;
|
||||||
#[cfg(feature = "opentelemetry_0_20")]
|
#[cfg(feature = "opentelemetry_0_20")]
|
||||||
use opentelemetry_stdout_0_1::SpanExporterBuilder;
|
use opentelemetry_stdout_0_1::SpanExporterBuilder;
|
||||||
#[cfg(any(feature = "opentelemetry_0_21", feature = "opentelemetry_0_22"))]
|
#[cfg(feature = "opentelemetry_0_21")]
|
||||||
use opentelemetry_stdout_0_2::SpanExporterBuilder;
|
use opentelemetry_stdout_0_2::SpanExporterBuilder;
|
||||||
|
#[cfg(feature = "opentelemetry_0_22")]
|
||||||
|
use opentelemetry_stdout_0_3::SpanExporterBuilder;
|
||||||
|
|
||||||
let exporter = SpanExporterBuilder::default()
|
let exporter = SpanExporterBuilder::default()
|
||||||
.with_writer(std::io::sink())
|
.with_writer(std::io::sink())
|
||||||
|
|
Loading…
Reference in New Issue