22 releases

0.3.2 Oct 21, 2023
0.3.1 Sep 6, 2023
0.3.0 Aug 16, 2023
0.2.22 Apr 30, 2023
0.1.0 Jan 29, 2023

#202 in Database interfaces

Download history 341/week @ 2023-08-15 306/week @ 2023-08-22 293/week @ 2023-08-29 289/week @ 2023-09-05 211/week @ 2023-09-12 193/week @ 2023-09-19 202/week @ 2023-09-26 213/week @ 2023-10-03 223/week @ 2023-10-10 260/week @ 2023-10-17 258/week @ 2023-10-24 189/week @ 2023-10-31 197/week @ 2023-11-07 210/week @ 2023-11-14 249/week @ 2023-11-21 299/week @ 2023-11-28

957 downloads per month
Used in 2 crates

Custom license

2.5MB
5K SLoC

dagger-sdk

A dagger sdk written in rust for rust.

Examples

See examples

Run them like so

cargo run --example first-pipeline

The examples match the folder name in each directory in examples

Install

Simply install like:

cargo add dagger-sdk

Usage

#[tokio::main]
async fn main() -> eyre::Result<()> {
    let client = dagger_sdk::connect().await?;

    let version = client
        .container()
        .from("golang:1.19")
        .with_exec(vec!["go", "version"])
        .stdout().await?;

    println!("Hello from Dagger and {}", version.trim());

    Ok(())
}

And run it like a normal application:

cargo run

Dependencies

~10–24MB
~401K SLoC