| Crates.io | java-oxide |
| lib.rs | java-oxide |
| version | 0.1.0 |
| created_at | 2025-12-11 18:31:08.123474+00 |
| updated_at | 2025-12-11 18:31:08.123474+00 |
| description | Glue code to accompany `java-oxide-gen` for binding to JVM APIs from Rust |
| homepage | |
| repository | https://github.com/OxidizeMC/java-oxide |
| max_upload_size | |
| id | 1980293 |
| size | 92,952 |
java-oxideGlue code to accompany java-oxide-gen for binding to JVM APIs from Rust
java-oxide-gen's READMEstatic final) are converted to Rust constants.java-spaghetti-gen (& jni-bindgen)This project started out as a fork of java-spaghetti-gen, which is originally a fork jni-bindgen.
java-spaghetti-gen took the route of generating "mini-bindings", that are tailored specifically to your project, and can be embeded within your crate. This design, however, is not suited for large-scale bindings that are intended to be used as/in libraries. java-oxide partially goes back to the design of jni-bindgen, it generates crates with bindings for a whole java API (or multiple).
A list of differences from java-spaghetti-gen are:
crate::...) instead of relative paths (super::...), because relative path chains can be confusing to read.java-spaghetti is stale, and slightly broken on newer rust versions.A list of differences from jni-bindgen are listed in java-spaghetti-gen's README.
Licensed under the MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)