xaynetwork/cargo_tai

Test and benchmark your Rust library on mobile devices with ease

Much of this project is based on the work of cargo-ndk

Cargo Tai

.

Much of this project is based on the work of cargo-dinghy. Furthermore, ideas were taken from the following projects:

  • cargo-ndk
  • polyhorn
  • cargo-mobile
  • cargo-tarpaulin
  • uikit-sys
  • android-ndk-rs
  • cross

Features

  • Run tests or benchmarks on iOS (simulator/real device) and Android (emulator/real device).
  • Support for running benchmarks with criterion (example).
  • Bundle resource data that is required for your tests/benchmarks.

Documentation

Documentation

Host Requirements

iOS (macOS only)

  • Xcode
  • ios-deploy
  • A valid iOS Development certificate
  • toolchains:
    • x86_64-apple-ios
    • aarch64-apple-ios

Android

  • Android Studio
  • Android NDK
  • toolchains:
    • x86_64-linux-android
    • aarch64-linux-android
    • i686-linux-android
    • armv7-linux-androideabi

Tested Configurations

iOS

  • Real device: iPhone 8 with iOS 14.5.1
  • Simulator: iPhone 12 with iOS 14.5.1

Android

  • Real device: Xiaomi Redmi Note 9 (aarch64), Android 10
  • Emulator: x84_64, Android 10 (API 29)

Host

  • Intel based Mac with macOS BigSur 11.4
  • Xcode 12.5
  • ios-deploy 1.11.4
  • Android Studio 4.2
  • API level 21
  • NDK 22.1.7171670
  • cargo 1.53.0
  • cargo toolchains:
    • x86_64-linux-android
    • aarch64-linux-android
    • i686-linux-android
    • armv7-linux-androideabi
    • x86_64-apple-ios
    • aarch64-apple-ios

Limitations/Backwards Compatibility

  • Tests and benchmarks can only be run on one iOS device.
    • (cargo-tai will use the first device that is returned by ios-deploy --detect --json --no-wifi)
  • There are currently no plans to add support for older versions of Xcode and other tools.
  • Resource data is included in all test/benchmark binary bundles even if they are not needed.

Information - Updated Jun 27, 2022

Stars: 4
Forks: 0
Issues: 0

quest-hook-template

A template for writing mods for Quest il2cpp games in Rust using cargo generate to clone the template:

quest-hook-template

Command line json text parsing and processing utility

parsing json compliant with rust and cargo

Command line json text parsing and processing utility

Clone this repo: git clone

If you don't have Rust and cargo-make installed,

Clone this repo: git clone

Rustup: the Rust installer and version management tool

To test that you have Rust and Cargo installed, you can run this in your terminal of choice: cargo --version

Rustup: the Rust installer and version management tool

Address generator in Rust

If you have Rust: cargo install gemgen

Address generator in Rust

First, complete the basic Rust setup instructions

Use Rust's native cargo command to build and launch the template node:

First, complete the basic Rust setup instructions

cargo rssc - Rust scripts for crates building

will copy the template_basic into scripts_rssc folder

cargo rssc - Rust scripts for crates building

NES Emulator in Rust-WASM

Requires Rust with cargo, nodejs, and wasm-pack

NES Emulator in Rust-WASM

Terraformer Engine

A 3D game engine but completely in rust/std/cargo

Terraformer Engine

Rustup: the Rust installer and version management tool

To test that you have Rust and Cargo installed, you can run this in your terminal of choice: cargo --version

Rustup: the Rust installer and version management tool
Facebook Instagram Twitter GitHub Dribbble
Privacy