dagger-components/examples/rust-test/src/main.rs
kjuulh e1428a8fbb feat: with rust build and test
Signed-off-by: kjuulh <contact@kjuulh.io>
2023-08-12 18:08:04 +00:00

17 lines
367 B
Rust

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