make sure you have rust installed
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shmake sure protoc is installed
# linux
sudo apt install protobuf-compiler
# macos
brew install protobuf
# windows
# download at https://github.com/protocolbuffers/protobuf/releasesinstall cross ( requires docker or podman )
cargo install cross --git https://github.com/cross-rs/cross
then compile for each target platform by running
sh build.sh
setup default credentials
export OPENIAP_USERNAME=username
export OPENIAP_PASSWORD=passwordrust
cargo run
cargo testnodejs
cd node
node test.jspython
cd python
pip uninstall openiap -y && pip install dist/openiap-0.0.41-py3-none-any.whl && python test.py
dotnet
cd dotnet
dotnet runon nixos, in /etc/nixos/configuration.nix you need to enable for rust and c debugging to work with lldb
programs.nix-ld.enable = true;