Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
icota authored Jan 16, 2024
1 parent 9b312cf commit e35c982
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ git subtree pull --prefix cargokit https://github.com/irondash/cargokit.git main

## Development

To generate `tor-ffi.h` C bindings for Rust, `cbindgen --config cbindgen.toml --crate tor-ffi --output target/tor-ffi.h` or `cargo build` in `native/tor-ffi` to produce headers according to `build.rs`
To generate `tor_bindings_generated.dart` Dart bindings for C, `flutter pub run ffigen --config ffigen.yaml`
To (re)generate Dart bindings run `just generate`

## Example app

`flutter run` in `example` to run the example app

See `example/lib/main.dart` for usage. Must run the build script for your platform first.
See `example/lib/main.dart` for usage.

0 comments on commit e35c982

Please sign in to comment.