mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-26 00:42:42 +01:00
chore: only test if feature is enabled
This commit is contained in:
parent
f670989a46
commit
18b88502ec
@ -1,7 +1,9 @@
|
|||||||
use dagger_sdk::HostDirectoryOpts;
|
use dagger_sdk::HostDirectoryOpts;
|
||||||
|
#[cfg(feature = "otel")]
|
||||||
use opentelemetry::global;
|
use opentelemetry::global;
|
||||||
use tracing::Level;
|
use tracing::Level;
|
||||||
|
|
||||||
|
#[cfg(feature = "otel")]
|
||||||
#[tracing::instrument]
|
#[tracing::instrument]
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> eyre::Result<()> {
|
async fn main() -> eyre::Result<()> {
|
||||||
|
Loading…
Reference in New Issue
Block a user