-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
14 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
- [`flutter_rust_bridge_codegen`](https://lib.rs/crates/flutter_rust_bridge_codegen), the core codegen for Rust-Dart glue code | ||
- [`cbindgen`](https://lib.rs/crates/cbindgen), to generate C headers from Rust FFI code | ||
- [`ffigen`](https://pub.dev/packages/ffigen), to generate Dart code from C headers | ||
- [`just`](https://github.com/casey/just), a modern command runner alternative to Make | ||
- A working installation of LLVM, see [Installing LLVM](https://pub.dev/packages/ffigen#installing-llvm) | ||
|
||
An easy way to install the first four dependencies is to run these commands: | ||
An easy way to install the first three dependencies is to run these commands: | ||
|
||
```shell | ||
cargo install flutter_rust_bridge_codegen cbindgen just | ||
cargo install flutter_rust_bridge_codegen just | ||
dart pub global activate ffigen | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters