mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-08 11:01:47 +01:00
Kasper Juul Hermansen
4a4c03f3c2
* format code * with object gen and args * add implementation * add rust generator * reset generated code * add basic output * reset output * add object * add format function * with opts * fix vec * add context to unwrap * fix arguments * with function body * first complete generation: Still missing Vec<Obj> * run full alpine * add roadmap item
41 lines
1.2 KiB
Markdown
41 lines
1.2 KiB
Markdown
# dagger-rs
|
|
|
|
A dagger sdk written in rust for rust.
|
|
|
|
## Disclaimer
|
|
|
|
Work in progress. This is not ready for usage yet
|
|
|
|
### Status
|
|
|
|
- [x] dagger cli downloader
|
|
- [x] dagger network session
|
|
- [x] graphql rust codegen (User API)
|
|
- [x] Scalars
|
|
- [x] Enums
|
|
- [x] Input
|
|
- [x] Objects
|
|
- [x] Implement context and querier
|
|
- [x] Marshaller
|
|
- [x] Querier
|
|
- [x] Context
|
|
- [x] Deserializer for nested response (bind)
|
|
- [x] 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 from `dagger`
|
|
- `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 other `dagger-sdk's`. It primarily turns graphql into rust code.
|