#architecture #capture #oca #overlays #version #command-line #parser

yanked oca-rust

Rust implementation of Overlays Capture Architecture

70 releases

0.2.23 Jan 11, 2023
0.2.21 Dec 21, 2022
0.2.10 Nov 21, 2022
0.1.42 Jul 25, 2022
0.1.23 Nov 24, 2021

#10 in #oca

Download history 246/week @ 2024-02-15 82/week @ 2024-02-22 25/week @ 2024-02-29

128 downloads per month

GPL-3.0 license

665KB
5.5K SLoC

Contains (MSI installer, 325KB) tests/assets/oca_template.xls, (Zip file, 275KB) tests/assets/oca_template.xlsx, (Zip file, 23KB) tests/assets/entries_template.xlsx

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

Command line parser

Download bin for linux or exe for windows

In cargo package

Add this to your Cargo.toml:

[dependencies]
oca-rust = "0.2.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

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.

Dependencies

~8–12MB
~233K SLoC