cargo-mobile
cargo-lipo
Our great sponsors
cargo-mobile | cargo-lipo | |
---|---|---|
3 | 2 | |
1,153 | 512 | |
2.1% | - | |
0.0 | 4.4 | |
4 months ago | 3 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cargo-mobile
-
is it possible to make android app using rust? any step by step tutorial?
For future projects, Dioxus should have Android support. Currently, it only has iOS support, with Android being available with a little extra work using cargo-mobile. The getting started docs give the explanation.
- Status quo on developing for Android in Rust
cargo-lipo
-
Build on mac M1
Yes. You can target aarch64 and x86_64. Universals binaries can be created manually or via cargo-lipo.
-
Building Rust libraries for iOS in 2021
When I created the library a few years ago, the go-to way for this was cargo-lipo. That worked fine when building for aarch64-apple-ios and x86_64-apple-ios, but when building both for ARM64 iOS and M1 the linker fails:
What are some alternatives?
rust-android-gradle
ObjCrust - Using Rust to create an iOS static library
macroquad - Cross-platform game engine in Rust.
glean - Modern cross-platform telemetry
ndk - Rust bindings to the Android NDK
Cargo - The Rust package manager
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
creator - A state management library that enables concise, fluid, readable and testable business logic code.
xbase - Develop Apple software products within your favorite editor.
cross - “Zero setup” cross compilation and “cross testing” of Rust crates
genapkbuild - Tool to generate Android build system files (Android.mk, Android.bp) from APK automatically.
homebrew-musl-cross - Homebrew Formula for static-friendly musl-based GCC macOS-to-Linux cross-compilers