feat: rust2go-cli

This commit is contained in:
xkeyC 2024-11-29 18:13:36 +08:00 committed by GitHub
parent 3ce485df5c
commit 16e50e6d75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,6 +58,9 @@ jobs:
run: | run: |
cargo install cargo-expand cargo install cargo-expand
cargo install 'flutter_rust_bridge_codegen@^2.0.0-dev.0' cargo install 'flutter_rust_bridge_codegen@^2.0.0-dev.0'
- name: setup rust2go-cli
run: rust2go-cli --src rust/src/go/go_api.rs --dst rust/go/rs_gen.go
- name: Flutter Rust bridge generate - name: Flutter Rust bridge generate
run: flutter_rust_bridge_codegen generate run: flutter_rust_bridge_codegen generate