swcurran / oca-rust

Rust implementation of Overlays Capture Architecture.

Home Page:https://oca.colossi.network/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust Build Status Cargo version WASM Build Status NPM version

Rust implementation of Overlays Capture architecture

OCA is a standardized global solution for data capture and exchange which protects PII data and provides a positive alternative to current architectures. See more on: https://oca.colossi.network/

License

EUPL 1.2

We have distilled the most crucial license specifics to make your adoption seamless: see here for details.

Documentation

Usage

In cargo package

Add this to your Cargo.toml:

[dependencies]
oca-rs = "0.2.27"

Build

Building local package:
cargo build

Run tests

cargo test

JS WASM bindings

Build

Building local NPM package
in bindings/js/wasm directory:
bash build-pkg.sh

Run tests

Go to bindings/js/example directory and install dependencies

yarn install
yarn test

Releasing new version

cargo release
bumps version and runs git push with v{version} tag added. That triggers actions on github (Crates.io and npmjs.com) which build and publish packages on crates.io and npmjs.com.

About

Rust implementation of Overlays Capture Architecture.

https://oca.colossi.network/

License:European Union Public License 1.2


Languages

Language:Rust 91.2%Language:TypeScript 8.2%Language:Shell 0.5%Language:JavaScript 0.2%