Generation of rust ffi bindings to rust

Hello there, I have been interested in plugins to rust and I discover that It's possible to link dylib to other applications dynamically and use the extern "Rust" fn.. api. However I can't find a generator for the wrapper. As my library grows in code, the time to compile it becomes larger, so I decided to maintain a wrapper on and then the crate will link with the dynamic library that is in the system. So now here I come interested in generators for the bindings.

Are you looking for bindgen?

almost. it's like bindgen, however instead of generating C or C++ bindings, it generates rust bindings from rust library. It would be something like:

rust-bindgen -o

Are you looking for abi_stable?

like it, thanks for the suggestion

@krtab does it have a generator for wrappers?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.