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

Purely_cargokit #99

Closed
wants to merge 15 commits into from
Closed
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/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
- name: Build example Flutter app
if: matrix.target == 'windows'
working-directory: example/
run: flutter build windows
run: flutter build windows -v

- name: Build example Flutter app
if: matrix.target == 'macos'
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "cargokit"]
path = cargokit
url = https://github.com/irondash/cargokit
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[workspace]
members = ["./example/native/hub", "./connectors/cargokit/build_tool"]
members = ["example/native/hub", "cargokit/build_tool"]
resolver = "2"
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,18 @@ We appreciate your contribution to the development of this project!

[![GitHub contributors (via allcontributors.org)](https://contrib.rocks/image?repo=cunarist/rust-in-flutter)](https://github.com/cunarist/rust-in-flutter/graphs/contributors)

# 👏 Thanks

These are tools for connecting Flutter and native compilers.

Rust-In-Flutter was not made alone. There were pioneers that gave inspiration to the structure of this package. Credits to these wonderful efforts!

- https://github.com/fzyzcjy/flutter_rust_bridge
- https://github.com/superlistapp/super_native_extensions
- https://github.com/brickpop/flutter-rust-ffi
- https://github.com/corrosion-rs/corrosion
- https://github.com/irondash/cargokit

bookshiyi marked this conversation as resolved.
Show resolved Hide resolved
# ☕ Support Us

If you are benefiting from the features of Rust-In-Flutter and find it helpful, why not consider supporting this project? Your generous donations contribute to the maintenance and development of Rust-In-Flutter, ensuring its continuous improvement and growth. 😉
Expand Down
5 changes: 3 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ android {
}
}

def target = new File(rootProject.projectDir.parent)
// Include Rust crates in the build process
apply from: "../connectors/cargokit/gradle/plugin.gradle"
apply from: "../cargokit/gradle/plugin.gradle"
cargokit {
manifestDir = "${rootProject.projectDir}/../native/hub"
manifestDir = "../${target.name}/native/hub"
libname = "hub"
}
bookshiyi marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions cargokit
Submodule cargokit added at 5d6e4d
11 changes: 0 additions & 11 deletions connectors/README.md

This file was deleted.

1 change: 0 additions & 1 deletion connectors/cargokit/.gitignore

This file was deleted.

39 changes: 0 additions & 39 deletions connectors/cargokit/LICENSE

This file was deleted.

2 changes: 0 additions & 2 deletions connectors/cargokit/README

This file was deleted.

26 changes: 0 additions & 26 deletions connectors/cargokit/build_pod.sh

This file was deleted.

17 changes: 0 additions & 17 deletions connectors/cargokit/build_tool/Cargo.toml

This file was deleted.

Loading
Loading