rust_interface_file_generator
Program for translating libraries written in Rust to interface files. ##Note that this crate is deprecated. Use rifgen It works with flapigen. For instructions on how to integrate with your project, click here
Suppose you have the following Rust code:
Using flapigen, you'd have to write an interface file similar to
foreign_class!;
in order to write in Java something like this:
Foo foo ;
int res ;
;
or in C++ something like this:
Foo ;
int res = foo.;
;
Other Features:
✅ Fast and easy to use
✅ Specify style of the resulting code i.e. Whether CamelCase or snake_case
✅ Works, with structs
, enums
, trait
✅ You don't have to worry about the "order" in which code in the interface has to be