All Projects → nishtahir → Rust Android Gradle

nishtahir / Rust Android Gradle

Licence: apache-2.0

Programming Languages

rust
11053 projects
kotlin
9241 projects

Projects that are alternatives of or similar to Rust Android Gradle

Gradle Cargo Plugin
Gradle plugin that provides deployment capabilities to local and remote containers via Cargo
Stars: ✭ 238 (+1600%)
Mutual labels:  gradle-plugin, cargo
Ktargeter
Kotlin compiler plugin that allows overriding annotation use-site targets for properties
Stars: ✭ 24 (+71.43%)
Mutual labels:  gradle-plugin
Shot
Gradle plugin developed to facilitate screenshot testing for Android
Stars: ✭ 668 (+4671.43%)
Mutual labels:  gradle-plugin
Typescript Generator
Generates TypeScript from Java - JSON declarations, REST service client
Stars: ✭ 729 (+5107.14%)
Mutual labels:  gradle-plugin
Rust Python Example
Example of using Rust to Extend Python
Stars: ✭ 699 (+4892.86%)
Mutual labels:  cargo
Cargo Audit
Audit Cargo.lock files for crates with security vulnerabilities
Stars: ✭ 735 (+5150%)
Mutual labels:  cargo
Thinrplugin
去除android中的R.class
Stars: ✭ 632 (+4414.29%)
Mutual labels:  gradle-plugin
Gradle Defaults
Plugin providing opinionated defaults for Gradle projects.
Stars: ✭ 7 (-50%)
Mutual labels:  gradle-plugin
Cargo Tomlfmt
Formatting Cargo.toml
Stars: ✭ 18 (+28.57%)
Mutual labels:  cargo
Cargo Fuzz
Command line helpers for fuzzing
Stars: ✭ 725 (+5078.57%)
Mutual labels:  cargo
Kotless
Kotlin Serverless Framework
Stars: ✭ 721 (+5050%)
Mutual labels:  gradle-plugin
Gogradle
A Gradle Plugin Providing Full Support for Go
Stars: ✭ 712 (+4985.71%)
Mutual labels:  gradle-plugin
Cargo Expand
Subcommand to show result of macro expansion
Stars: ✭ 886 (+6228.57%)
Mutual labels:  cargo
Cargo Generate
cargo, make me a project
Stars: ✭ 686 (+4800%)
Mutual labels:  cargo
Snm
🤏 Smol Node Manager written in Rust
Stars: ✭ 24 (+71.43%)
Mutual labels:  cargo
Mongo Rust Driver
The official MongoDB Rust Driver
Stars: ✭ 633 (+4421.43%)
Mutual labels:  cargo
Img Optimizer Gradle Plugin
一款用于优化png图片的gradle插件,有效减少APK体积,支持极限压缩和无损压缩。
Stars: ✭ 718 (+5028.57%)
Mutual labels:  gradle-plugin
Gradle Release
gradle-release is a plugin for providing a Maven-like release process for projects using Gradle
Stars: ✭ 731 (+5121.43%)
Mutual labels:  gradle-plugin
Xargo
The sysroot manager that lets you build and customize `std`
Stars: ✭ 841 (+5907.14%)
Mutual labels:  cargo
Plantuml Gradle Plugin
Gradle plugin to build PlantUML diagrams from code (for living and up-to-date documentation)
Stars: ✭ 27 (+92.86%)
Mutual labels:  gradle-plugin

Rust Android Gradle Plugin (Deprecated)

This project is now deprecated in favor of https://github.com/mozilla/rust-android-gradle

Cross compiles rust cargo projects for Android

Usage

To begin you must first install the rust toolchains for your target platforms.

rustup target add arm-linux-androideabi     # for arm
rustup target add i686-linux-android        # for x86
...

Next add the cargo configuration to android project. Point to your cargo project using module and add targets. Currently supported targets are arm, arm64, mips, and x86, x86_64.

cargo {
    module = "../rust"
    targets = ["arm", "x84"]
}

Run the cargoBuild task to cross compile

./gradlew cargoBuild

Generated static libraries will be added to your android jniLibs source-sets.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].