This library functions similarly to bindgen for C, though Java and JNI do not have as simple a calling convention as other languages, so this generates some bridge functions to make integrating between Rust and Java simpler. The name comes from Ja(va)FFI -> Jaffi
WARNING this is very early days, there is not an exhaustive test suite verifying everythig functions properly at the FFI boundary.
Now tests should work as expected (there may be a lot of warnings, this is under active development), if it works, you should this output after the build details:
The Jaffi library will scan class files based on the configuration parameters specified. There are some deficiencies, currently only unzipped classpaths are supported, i.e. if there jars in the classpath the build will fail.
To use the library, this hasn't been published to Crates.io yet, you will need to add dependencies like this to your Cargo.toml: