dagger-components/examples/rust-test/src/main.rs
kjuulh a7656a9da1
Some checks reported errors
continuous-integration/drone/push Build was killed
feat: update dagger 0.11.7
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-08-01 22:19:59 +02:00

21 lines
434 B
Rust

use dagger_rust::{build::RustVersion, test::RustTest};
#[tokio::main]
pub async fn main() -> eyre::Result<()> {
dagger_sdk::connect(|client| async move {
RustTest::new(client.clone())
.test(
Some("testdata"),
RustVersion::Nightly,
&["crates/*"],
&["openssl"],
)
.await?;
Ok(())
})
.await?;
Ok(())
}