build_runner_accelerator 0.1.0 copy "build_runner_accelerator: ^0.1.0" to clipboard
build_runner_accelerator: ^0.1.0 copied to clipboard

A Rust-accelerated frontend for build_runner with a compatible Dart worker.

example/README.md

build_runner_accelerator example #

This package replaces the usual build_runner command with a project-local launcher that can use the Rust frontend when the workspace is supported.

Add the pre-release to an existing Dart package that already uses build_runner and a builder package:

dart pub add dev:build_runner_accelerator:^0.1.0-dev.1

Run a build or watch session from that package:

dart run build_runner_accelerator build
dart run build_runner_accelerator watch

The default auto mode falls back to stock Dart build_runner when native execution is unavailable or the workspace is outside the supported native manifest subset. Use --mode dart to force the fallback, or --mode rust to make native frontend incompatibilities fail explicitly.

0
likes
160
points
34
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Rust-accelerated frontend for build_runner with a compatible Dart worker.

Repository (GitHub)
View/report issues

Topics

#build-runner #code-generation #dart #rust #command-line

License

MIT (license)

Dependencies

analyzer, archive, build, build_config, build_runner, built_collection, built_value, crypto, cryptography, glob, logging, package_config, path, yaml

More

Packages that depend on build_runner_accelerator