dagger-rs

Crates.iodagger-rs
lib.rsdagger-rs
version0.2.10
sourcesrc
created_at2023-01-27 07:38:53.034341
updated_at2023-02-20 09:29:19.921791
descriptionA dagger sdk for rust, written in rust
homepage
repositoryhttps://github.com/kjuulh/dagger-rs
max_upload_size
id769470
size64,441
Kasper Juul Hermansen (kjuulh)

documentation

README

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 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.
Commit count: 256

cargo fmt