From e35c982e0270ebc1d376c23c7f27d43f7ccd9963 Mon Sep 17 00:00:00 2001 From: Igor Cota Date: Tue, 16 Jan 2024 08:08:50 +0100 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8fe70ed0..0df53275 100644 --- a/README.md +++ b/README.md @@ -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.