chore: add default main

This commit is contained in:
Kasper Juul Hermansen 2023-05-02 20:19:01 +02:00
parent 18b88502ec
commit c787569bdc
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

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]