1- # 🧱 ` native_toolchain_rs ` 🦀
1+ # 🧱 ` native_toolchain_rust ` 🦀
22
3- [ ![ Build Status] ( https://github.com/GregoryConrad/native_toolchain_rs /actions/workflows/build.yml/badge.svg )] ( https://github.com/GregoryConrad/native_toolchain_rs /actions )
4- [ ![ Github Stars] ( https://img.shields.io/github/stars/GregoryConrad/native_toolchain_rs .svg?style=flat&logo=github&colorB=deeppink&label=stars )] ( https://github.com/GregoryConrad/native_toolchain_rs )
3+ [ ![ Build Status] ( https://github.com/GregoryConrad/native_toolchain_rust /actions/workflows/build.yml/badge.svg )] ( https://github.com/GregoryConrad/native_toolchain_rust /actions )
4+ [ ![ Github Stars] ( https://img.shields.io/github/stars/GregoryConrad/native_toolchain_rust .svg?style=flat&logo=github&colorB=deeppink&label=stars )] ( https://github.com/GregoryConrad/native_toolchain_rust )
55[ ![ MIT License] ( https://img.shields.io/badge/license-MIT-purple.svg )] ( https://opensource.org/licenses/MIT )
66
77---
88
99Rust support for Dart's Native Assets.
1010
11- ## Why native_toolchain_rs ?
11+ ## Why native_toolchain_rust ?
12121 . It's opinionated.
1313 That might sound bad, but it's opinionated in the way that _ keeps you from shooting yourself in the foot_ .
14142 . Does more with less.
@@ -20,12 +20,12 @@ Rust support for Dart's Native Assets.
2020## Getting Started
21211 . Install [ rustup] ( https://rustup.rs ) , for Rust, on your development computer
2222 (if you are a library author, consumers of your package will have to do the same)
23- 2 . Run ` flutter pub add native_toolchain_rs hooks ` for Flutter or ` dart pub add native_toolchain_rs hooks ` for Dart-only
23+ 2 . Run ` flutter pub add native_toolchain_rust hooks ` for Flutter or ` dart pub add native_toolchain_rust hooks ` for Dart-only
24243 . See [ Code Setup] ( #code-setup )
2525
2626
2727## Code Setup
28- ` native_toolchain_rs ` will look (by default) for ` native/ ` or ` rust/ ` (customizable)
28+ ` native_toolchain_rust ` will look (by default) for ` native/ ` or ` rust/ ` (customizable)
2929in your Dart package's root.
3030If you haven't already, create a ` Cargo.toml ` and ` rust-toolchain.toml ` in your chosen Rust directory;
3131keep reading for what these two files must contain
@@ -34,7 +34,7 @@ keep reading for what these two files must contain
3434### ` hook/build.dart `
3535``` dart
3636import 'package:hooks/hooks.dart';
37- import 'package:native_toolchain_rs/native_toolchain_rs .dart';
37+ import 'package:native_toolchain_rust/native_toolchain_rust .dart';
3838
3939void main(List<String> args) async {
4040 await build(args, (input, output) async {
0 commit comments