Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1021 Bytes

README.md

File metadata and controls

54 lines (37 loc) · 1021 Bytes

UR Registry Rust

Yet another implementation for BC-UR registries.

Libs

Interfaces

Build

  1. Install Android NDK 22.1.7171670

Open your Android Studio

Open SDK manager

Open tab SDK tools

Check Show package Details

Found target version.

  1. Install cargo-lipo, cbindgen and cargo-ndk

cargo install cargo-lipo

cargo install cargo-ndk

  1. Add rust components

Android:

rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android

iOS:

rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim

  1. Config

Android:

Make sure you only have NDK 22.1.7171670, if not, you should setup the environment variable firstly:

Copy the file .ndk_home.example and change the content to your version;

  1. Build

Debug:

make

Release:

source .ndk_home && make release