24 releases

new 0.1.23 Nov 24, 2021
0.1.22 Nov 23, 2021
0.1.18 Oct 29, 2021
0.1.5 Sep 29, 2021

#161 in WebAssembly

Download history 16/week @ 2021-09-13 14/week @ 2021-09-20 55/week @ 2021-09-27 25/week @ 2021-10-04 9/week @ 2021-10-11 62/week @ 2021-10-18 114/week @ 2021-10-25 19/week @ 2021-11-01 21/week @ 2021-11-08 54/week @ 2021-11-15 36/week @ 2021-11-22

136 downloads per month

GPL-3.0 license

575KB
2K SLoC

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/

Documentation

Usage

Command line parser

Download bin for linux or exe for windows

In cargo package

Add this to your Cargo.toml:

[dependencies]
oca-rust = "0.1.23"

Build

Building local package with command line app and XLS parser:
cargo build --features command_line,xls_parser

Run tests

cargo test --all-features

WASM bindings

Build

Building local NPM package
wasm-pack build bindings/wasm -t nodejs -d pkg-node

Run tests

Go to bindings/wasm/js 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.

Dependencies

~5–8MB
~179K SLoC