Skip to content

Commit

Permalink
Bump flutter_rust_bridge to stable release, add transfer examples (#301)
Browse files Browse the repository at this point in the history
* bump frblutter_rust_bridge to stable release

* transfer examples for uniffi bindings
  • Loading branch information
zksemi authored Jun 26, 2024
1 parent 807c550 commit 13f5d38
Show file tree
Hide file tree
Showing 18 changed files with 6,193 additions and 4,840 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
- name: build
run: |
cd bindings/dart
cargo install '[email protected]-dev.32'
cargo install '[email protected]'
flutter pub get
flutter_rust_bridge_codegen generate
cd rust
Expand Down
19 changes: 11 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,14 @@ GO_FILES = 1_change_pubkey 2_withdraw 3_transfer 4_forced_exit 5_order_matching
RUN_GO_EXAMPLES = $(patsubst %, run_example_go_%, $(GO_FILES))
run_example_go: ${RUN_GO_EXAMPLES}

PY_FILES = 1_change_pubkey 2_withdraw 5_order_matching
PY_FILES = 1_change_pubkey 2_withdraw 3_transfer 5_order_matching
RUN_PYTHON_EXAMPLES = $(patsubst %, run_example_python_%, $(PY_FILES))
run_example_python: ${RUN_PYTHON_EXAMPLES}

JS_FILES = 1_change_pubkey 2_auto_deleveraging 3_update_global_var 4_contract_matching 5_liquidation 6_funding
RUN_JS_EXAMPLES = $(patsubst %, run_example_js_%, $(JS_FILES))
run_example_js: ${RUN_JS_EXAMPLES}

CPP_FILES = 1_change_pubkey 2_withdraw 5_order_matching
CPP_FILES = 1_change_pubkey 2_withdraw 3_transfer 5_order_matching
RUN_CPP_EXAMPLES = $(patsubst %, run_example_cpp_%, $(CPP_FILES))
run_example_cpp: ${RUN_CPP_EXAMPLES}
3 changes: 2 additions & 1 deletion bindings/dart/flutter_rust_bridge.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
rust_input: rust/src/api.rs
rust_input: crate::api
dart_output: lib
full_dep: true
web: false
enable_lifetime: true
Loading

0 comments on commit 13f5d38

Please sign in to comment.