Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump flutter_rust_bridge to stable release, add transfer examples #301

Merged
merged 2 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading