chore: add default main

This commit is contained in:
2023-05-02 20:19:01 +02:00
parent 18b88502ec
commit c787569bdc

View File

@@ -3,6 +3,9 @@ use dagger_sdk::HostDirectoryOpts;
use opentelemetry::global; use opentelemetry::global;
use tracing::Level; use tracing::Level;
#[cfg(not(feature = "otel"))]
fn main() {}
#[cfg(feature = "otel")] #[cfg(feature = "otel")]
#[tracing::instrument] #[tracing::instrument]
#[tokio::main] #[tokio::main]