Skip to content

openiap/rustapi

Repository files navigation

rust api for openiap and wrappers for nodejs, python and dotnet6

build

make sure you have rust installed

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

make sure protoc is installed

# linux
sudo apt install protobuf-compiler
# macos
brew install protobuf
# windows
# download at https://github.com/protocolbuffers/protobuf/releases

install 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

test

setup default credentials

export OPENIAP_USERNAME=username
export OPENIAP_PASSWORD=password

rust

cargo run
cargo test

nodejs

cd node
node test.js

python

cd python
pip uninstall openiap -y && pip install dist/openiap-0.0.38-py3-none-any.whl && python test.py

dotnet

cd dotnet
dotnet run

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •