Skip to content

ZhenQian-keystone/ur-registry-rust

 
 

Repository files navigation

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

About

An BC-UR registry implementation with rust-lang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 60.6%
  • Dart 27.1%
  • C 4.8%
  • Ruby 2.2%
  • Makefile 2.0%
  • Swift 1.8%
  • Other 1.5%