26 releases

0.11.10 Aug 1, 2024
0.9.8 Feb 1, 2024
0.3.2 Oct 21, 2023
0.2.22 Apr 30, 2023
0.2.19 Mar 14, 2023

#214 in Development tools

Download history 165/week @ 2024-06-13 174/week @ 2024-06-20 157/week @ 2024-06-27 204/week @ 2024-07-04 161/week @ 2024-07-11 159/week @ 2024-07-18 177/week @ 2024-07-25 407/week @ 2024-08-01 168/week @ 2024-08-08 233/week @ 2024-08-15 701/week @ 2024-08-22 380/week @ 2024-08-29 318/week @ 2024-09-05 266/week @ 2024-09-12 318/week @ 2024-09-19 153/week @ 2024-09-26

1,081 downloads per month
Used in 2 crates

Custom license

2.5MB
8K 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

~13–27MB
~444K SLoC