36 releases
0.1.35 | May 9, 2022 |
---|---|
0.1.33 | Mar 29, 2022 |
0.1.25 | Dec 6, 2021 |
0.1.23 | Nov 24, 2021 |
#191 in WebAssembly
1,062 downloads per month
660KB
4K
SLoC
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.35"
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
~5.5–8.5MB
~190K SLoC