69 releases
| 0.19.10 | Jan 14, 2026 |
|---|---|
| 0.19.8 | Dec 5, 2025 |
| 0.19.7 | Nov 21, 2025 |
| 0.18.14 | Jul 18, 2025 |
| 0.2.19 | Mar 14, 2023 |
#368 in Network programming
895 downloads per month
Used in 5 crates
(4 directly)
2.5MB
13K
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<()> {
dagger_sdk::connect(|client| async move {
let version = client
.container()
.from("golang:1.19")
.with_exec(vec!["go", "version"])
.stdout()
.await?;
println!("Hello from Dagger and {}", version.trim());
Ok(())
})
.await?;
}
And run it like a normal application:
cargo run
Dependencies
~17–39MB
~505K SLoC