Skip to content
@rust-mobile

Rust Mobile

Support crates and tools for mobile (iOS, Android, ...) Rust development

Hi there 👋

While looking at modularizing the android-ndk-rs repo (that used to be hosted under the rust-windowing org), we decided to create this rust-mobile organisation as a place to foster collaboration and coordinate work on crates that are aimed at supporting mobile application development with Rust (i.e. Android and iOS)

The general motivation for this was:

  1. To help make smaller utility crates a little easier to discover
  2. More easily share ideas / patterns between crates where it makes sense. E.g. use the organization discussion boards to solicit feedback from developers working on related crates.
  3. Help share the maintenance burden if wanted (E.g. in case someone no longer has the time / bandwidth / interest to work on a crate)

Thinking about Android specifically we can see that there are some cross-cutting issues that we haven't got good answers for yet, including:

  1. no standard way of communicating whether libstdc++ is linked statically or shared
  2. no standard way of dealing with SDK versioning so crates know what Android APIs they should target
  3. no good (consistent + ergonomic) way yet for passing around JavaVM and Activity pointers for making JNI calls

The hope is that this organisation can help foster collaboration, so we can address these kinds of things consistently.

Join us, we have cookies 🍪

If you have a Rust crate that's primarily aimed at mobile app development we invite you to open an issue here to discuss re-homing here.

Alternatively open an issue against your own repo to discuss and poke me (@rib) or any of the other org owners here: https://github.com/orgs/rust-mobile/people

For anyone interested in moving a repo here; you'd still have responsibility over your own project as the maintainer. There's no obligation to give other members joint maintainer priviledges over your project (though it's hopefully a good opportunity to find collaborators).

Popular repositories Loading

  1. ndk ndk Public

    Rust bindings to the Android NDK

    Rust 1.1k 112

  2. android-rs-glue android-rs-glue Public archive

    Glue between Rust and Android

    Rust 905 111

  3. xbuild xbuild Public

    Cross compile rust to any platform

    Rust 472 39

  4. android-activity android-activity Public

    Glue for building Rust applications on Android with NativeActivity or GameActivity

    Rust 251 48

  5. android_logger-rs android_logger-rs Public

    A Rust logging implementation for `log` which hooks to android log output

    Rust 124 44

  6. rust-android-examples rust-android-examples Public

    Various standalone Rust Android examples

    Rust 120 22

Repositories

Showing 10 of 14 repositories

Top languages

Rust

Most used topics