mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-12-23 18:54:08 +01:00
A dagger sdk written in rust for rust
crates | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE.MIT | ||
README.md | ||
renovate.json | ||
rust-toolchain |
dagger-rs
A dagger sdk written in rust for rust.
Disclaimer
Work in progress. This is not ready for usage yet
Status
- dagger cli downloader
- dagger network session
- graphql rust codegen (User API)
- Scalars
- Enums
- Input
- Objects
- Implement context and querier
- fix build / release cycle
- general api stabilisation
- document usage
Architecture
.
Root project mainly used for generating the CLI, which in turn is used to bootstrap the code generation fromdagger
crates/dagger-core
Contains all base types used during actual usage. This is where the primary logic lives in which the user interacts (*disclaimer: most stuff haven't moved in here yet.)crates/dagger-sdk
Contains the actual sdk in which the user interacts,dagger-core
is reexported through this API as well.crates/dagger-codegen
This is the bulk of the work, it takes the input graphql and spits out the API in which the user interacts, this is heavily inspired by otherdagger-sdk's
. It primarily turns graphql into rust code.