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
tests
Runcargo test
JS WASM bindings
Build
Building local NPM package
in bindings/js/wasm directory:
bash build-pkg.sh
tests
RunGo 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.