FFIG / ffig

Generate code to call C++ libraries from other languages
MIT License
29 stars 9 forks source link

N091 generate Rust bindings #462

Closed philipcraig closed 5 years ago

philipcraig commented 5 years ago

Generate a minimal Rust binding consisting of merely the correct class (struct and impl) name, plus methods (fns), in the style of the existing D binding.

Add a test for the minimal Rust binding

Remove trailing whitespace from the two CMake files that were touched

Remove an unused Python variable

Partly addresses #91

Possible future work

Extend to generate more Rust code that actually functions