Rust-powered fast codegen tools for full stack Dart

Rust + Dart = dust.

Generate models, JSON, validation, clients, routes, state, i18n, and database code from one fast Rust engine. Use only what you need.

Rust
engine
Dart
and Flutter
MIT
licensed

$

downloading https://github.com/y3l1n4ung/dust/releases/latest/download/dust-aarch64-apple-darwin.tar.gz

verified dust-aarch64-apple-darwin.tar.gz

installed dust -> ~/.local/bin/dust

$

    ____             __
   / __ \__  _______/ /_
  / / / / / / / ___/ __/
 / /_/ / /_/ (__  ) /_
/_____/\__,_/____/\__/

build  scanned: 5010  generated: 5010  cached: 0  skipped: 0  time: 5149ms

$

01 / Install

$ curl -fsSL https://raw.githubusercontent.com/y3l1n4ung/dust/main/install.sh | bash

02 / Capabilities

03 / Workflow

  1. 01

    Annotate

    Add dust annotations to the Dart code you already own.

    @Derive(Serde()) class Article with _$Article {}
  2. 02

    Generate

    Run dust build. The Rust engine writes the generated Dart.

    $ dust build
  3. 03

    Use

    Call the generated helpers from normal Dart and Flutter code.

    Article.fromJson(json)