gi-rust / grust-gen

Rust code generator for GObject introspection
Other
4 stars 1 forks source link

Generating non -sys crate #2

Open jadahl opened 8 years ago

jadahl commented 8 years ago

Have you considered generating non -sys crate, i.e. wrapping the -sys crate calls inside unsafe { ... }? It'd make using the GIR libraries from Rust a lot more pleasent.

mzabaluev commented 6 years ago

The crate grust-proof is the playground for how the safe non -sys crate output should look like. It's two years old now, but I want to get back to moving it forward some day, and eventually produce templates for the generator.