JNI Interface to petpet-rs
resources can be downloaded from here in 7z format.
- put this class to where you like.
- run
javac -h path/to/the/code
to generate function name. (in this example, it'sJava_Petpet_GeneratePetpetToFile
) - change the function name in your fork.
CI will generate this library for x86_64-unknown-linux-gnu
, x86_64-pc-windows-msvc
, and x86_64-apple-darwin
You can add other targets manually in rust.yml