Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Apr 5, 2024
1 parent 6081ff9 commit 0294070
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ you then use from your crate. `java-spaghetti` is instead designed to generate "
The full list of differences are:

- Simplified and more consistent API.
- Support for casting and upcasting.
- Added FFI-safe `Return<T>` for returning Java objects from JNI calls.
- Arguments to method calls use a custom `AsArg` trait to make them more ergonomic (doesn't need stuff like `&**foo` or `Some(foo)`).
- You can filter which classes are generated in the TOML config.
- Generated code uses relative paths (`super::...`) instead of absolute paths (`crate::...`), so it works if you place it in a submodule not at the crate root.
- Generated code is a single `.rs` file, there's no support for spltting it in one file per class. You can still run the output through [form](https://github.com/djmcgill/form), if you want.
- Generated code doesn't use macros.
- No support for generating Cargo features per class.
- Modernized rust, updated dependencies.

Expand Down

0 comments on commit 0294070

Please sign in to comment.