Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 841 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 841 Bytes

Iotics Identity - Foreign Function Interface

A Rust crate for utilising a Go library for Decentralised Identity management through FFI.

Prerequisites

Install Rust - official instructions - i.e.:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

For Linux distros you may need to install the following:

sudo apt install clang

Development

Build instructions are defined in the build.rs file and can be called with cargo build.

Usage

# Cargo.toml
[dependencies]
iotics-identity = { git = "ssh://[email protected]/Iotic-Labs/iotics-identity-go.git" }

Examples

cargo run --example create_user_and_agent
cargo run --example create_auth_token
cargo run --example create_twin_did