cargo-lipo
cargo-mobile
Our great sponsors
cargo-lipo | cargo-mobile | |
---|---|---|
2 | 3 | |
506 | 1,151 | |
- | 1.9% | |
4.4 | 0.0 | |
3 months ago | 4 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-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:
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
What are some alternatives?
ObjCrust - Using Rust to create an iOS static library
rust-android-gradle
glean - Modern cross-platform telemetry
macroquad - Cross-platform game engine in Rust.
Cargo - The Rust package manager
ndk - Rust bindings to the Android NDK
creator - A state management library that enables concise, fluid, readable and testable business logic code.
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
cross - “Zero setup” cross compilation and “cross testing” of Rust crates
xbase - Develop Apple software products within your favorite editor.
homebrew-musl-cross - Homebrew Formula for static-friendly musl-based GCC macOS-to-Linux cross-compilers
genapkbuild - Tool to generate Android build system files (Android.mk, Android.bp) from APK automatically.