From 9ce374c879202139fca9948bf9a3c5673022e8b1 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Tue, 2 May 2023 20:19:39 +0200 Subject: [PATCH] chore: disable all dependencies (we need a better approach) --- crates/dagger-sdk/examples/tracing/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/dagger-sdk/examples/tracing/main.rs b/crates/dagger-sdk/examples/tracing/main.rs index cf697c3..c23f201 100644 --- a/crates/dagger-sdk/examples/tracing/main.rs +++ b/crates/dagger-sdk/examples/tracing/main.rs @@ -1,6 +1,8 @@ +#[cfg(feature = "otel")] use dagger_sdk::HostDirectoryOpts; #[cfg(feature = "otel")] use opentelemetry::global; +#[cfg(feature = "otel")] use tracing::Level; #[cfg(not(feature = "otel"))]