Skip to main content

build_runner_accelerator 0.19.5 copy "build_runner_accelerator: ^0.19.5" to clipboard
build_runner_accelerator: ^0.19.5 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 requires the Rust frontend and a supported workspace.

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

dart pub add dev:build_runner_accelerator

Run a build or watch session from that package:

dart run build_runner_accelerator build
dart run build_runner_accelerator watch

Execution is native-only. An unavailable native binary or unsupported request fails explicitly. The --mode option is removed. To use stock directly, run dart run build_runner build or dart run build_runner watch.

See the upgrade guide before switching back to native after stock execution or when legacy output-policy history exists.