build_rust_binaries 0.1.0
build_rust_binaries: ^0.1.0 copied to clipboard
Dart build hooks and CLI for building Rust locally or automatically in CI/CD and retrieving Rust binaries from a CDN like those built in Github Actions for a Github Releases.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add build_rust_binariesWith Flutter:
$ flutter pub add build_rust_binariesThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
build_rust_binaries: ^0.1.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:build_rust_binaries/build_rust_binaries.dart';