mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2025-12-06 18:43:19 +01:00
f29ff836cfd72d5e051ca6a71a230ba1e9933091
Option has been removed as a wrapper around opts. This makes it much
more convenient to use
```rust
client.container_opts(Some(ContainerOpts{}))
// ->
client.container_opts(ContainerOpts{})
```
The same options are still available, either an empty object can be
passed, or a non _opts function can be used
dagger-rs
A dagger sdk written in rust for rust.
Usage
See dagger-sdk
Status
- dagger cli downloader
- dagger network session
- graphql rust codegen (User API)
- Scalars
- Enums
- Input
- Objects
- Implement context and querier
- Marshaller
- Querier
- Context
- Deserializer for nested response (bind)
- Add codegen to hook into querier
- fix build / release cycle
- general api stabilisation
- document usage
- make async variant
Architecture
.Root project mainly used for generating the CLI, which in turn is used to bootstrap the code generation fromdaggercrates/dagger-coreContains 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-sdkContains the actual sdk in which the user interacts,dagger-coreis reexported through this API as well.crates/dagger-codegenThis 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.
Languages
Rust
87.3%
TypeScript
5.5%
HTML
4.6%
CSS
2.5%