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/
Download bin for linux or exe for windows
Add this to your Cargo.toml
:
toml
[dependencies]
oca-rust = "0.2.9"
Building local package with command line app and XLS parser:
cargo build --features command_line,xls_parser
cargo test --all-features
Building local NPM package
in bindings/js/wasm directory:
bash build-pkg.sh
Go to bindings/js/example directory and install dependencies
yarn install
yarn test
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.