{"repo":"Dushistov/flapigen-rs","free":true,"listed":false,"github":"https://github.com/Dushistov/flapigen-rs","clone":"git clone https://github.com/Dushistov/flapigen-rs.git","description":"Tool for connecting programs or libraries written in Rust with other languages","language":"Rust","stars":806,"topics":["java","jni","rust","swig","wrapper","codegen","c","cpp"],"license":"BSD-3-Clause","category":"dev-tools","readme_excerpt":"flapigen Tool for connecting programs or libraries written in Rust with other languages. Foreign language api generator - flapigen. Former name rust swig was changed to not confuse with swig. Currently implemented support for C++ and Java , but you can write support for any language of your choice. For an instruction how to integrate flapigen with your project look here. Suppose you have the following Rust code: and you want to write in Java something like this: or in C++ something like this: In order to implement it flapigen suggests the following functionality, in Rust project you write (in Rust language): and that's all, as a result flapigen generates JNI wrappers for Rust functions and Java code to call these JNI functions or generates C compatible wrappers in case of C++ and C++ code to call these C functions. If you want the interface file (the file containing foreign class! and so on) to be automatically generated for you, checkout rifgen. Users Guide 📚 Read the flapigen users guide here! 📚","default_branch":null,"files":null,"tree":[],"storefront":"/r/Dushistov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Dushistov/flapigen-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}