Skip to content

Commit fdea99c

Browse files
chore: rebrand to native_toolchain_rust (#40)
1 parent 2e4185b commit fdea99c

27 files changed

+68
-68
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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

99
Rust support for Dart's Native Assets.
1010

11-
## Why native_toolchain_rs?
11+
## Why native_toolchain_rust?
1212
1. It's opinionated.
1313
That might sound bad, but it's opinionated in the way that _keeps you from shooting yourself in the foot_.
1414
2. Does more with less.
@@ -20,12 +20,12 @@ Rust support for Dart's Native Assets.
2020
## Getting Started
2121
1. 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
2424
3. 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)
2929
in your Dart package's root.
3030
If you haven't already, create a `Cargo.toml` and `rust-toolchain.toml` in your chosen Rust directory;
3131
keep 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
3636
import '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
3939
void main(List<String> args) async {
4040
await build(args, (input, output) async {

examples/dart_only/hook/build.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:hooks/hooks.dart';
2-
import 'package:native_toolchain_rs/native_toolchain_rs.dart';
2+
import 'package:native_toolchain_rust/native_toolchain_rust.dart';
33

44
void main(List<String> args) async {
55
await build(args, (input, output) async {

examples/dart_only/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ environment:
77

88
dependencies:
99
hooks: ^1.0.0
10-
native_toolchain_rs: ^1.0.0
10+
native_toolchain_rust: ^1.0.0
1111

1212
dev_dependencies:
1313
ffigen: ^20.1.0

examples/flutter/hook/build.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:hooks/hooks.dart';
2-
import 'package:native_toolchain_rs/native_toolchain_rs.dart';
2+
import 'package:native_toolchain_rust/native_toolchain_rust.dart';
33

44
void main(List<String> args) async {
55
await build(args, (input, output) async {

examples/flutter/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
flutter:
1010
sdk: flutter
1111
hooks: ^1.0.0
12-
native_toolchain_rs: ^1.0.0
12+
native_toolchain_rust: ^1.0.0
1313

1414
dev_dependencies:
1515
ffigen: ^20.1.0

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
description = "native_toolchain_rs";
2+
description = "native_toolchain_rust";
33

44
inputs = {
55
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

native_toolchain_rs/example/README.md

Lines changed: 0 additions & 4 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)