A dagger sdk written in rust for rust
Go to file
kjuulh ecca036bc6 fix(sdk): fix builder pattern to actually work with default values
In previous versions the builder pattern required all values to be set.
This has not been fixed, so that default values are allowed.
2023-02-25 01:47:57 +01:00
.github/workflows revert disable caching 2023-02-20 11:28:24 +01:00
ci Release dagger-core v0.2.7, dagger-sdk v0.2.15 2023-02-25 00:11:35 +01:00
crates fix(sdk): fix builder pattern to actually work with default values 2023-02-25 01:47:57 +01:00
src fix(core): Fix async panic on blocking #19 2023-02-20 10:19:43 +01:00
.gitignore Add base sdk 2023-01-27 08:31:09 +01:00
Cargo.lock Release dagger-core v0.2.7, dagger-sdk v0.2.15 2023-02-25 00:11:35 +01:00
Cargo.toml Release dagger-core v0.2.7, dagger-sdk v0.2.15 2023-02-25 00:11:35 +01:00
CHANGELOG.md Release dagger-core v0.2.3, dagger-sdk v0.2.9, dagger-rs v0.2.10 2023-02-20 10:21:34 +01:00
LICENSE.MIT set readme and license 2023-01-27 08:38:39 +01:00
README.md docs: check async variant 2023-02-19 21:48:30 +01:00
renovate.json Add renovate.json 2023-01-27 22:42:47 +00:00

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.