rgtk icon indicating copy to clipboard operation
rgtk copied to clipboard

Split out glib and cairo

Open acertain opened this issue 11 years ago • 5 comments

glib and cairo are useful (and used) on their own, and it would be really nice to have access to high-level bindings for them without depending on gtk+

acertain avatar Oct 12 '14 00:10 acertain

@jeremyletang and me were talking about that. We agreed on creating an organization when rgtk will be in a more advanced stage of development. Then, we'll split every libraries to allow users to use only one. Unfortunately, that's not our priority for now. It still remains a lot of work on rgtk.

But thanks for your interest. Feel free to contribute on this project !

GuillaumeGomez avatar Oct 12 '14 00:10 GuillaumeGomez

It might be preferable to do the split earlier rather than later (this doesn't mean splitting the repo) so that any refactorings would be constrained by the crates structure from the beginning (think coherence rules for example). If we accidentally rely on everything being in one crate, it could be very difficult to split later.

gkoz avatar Feb 19 '15 14:02 gkoz

It will be in a very near future. @jeremyletang and I will have more time at the end of the month. I thought a PR proposed to split each lib in its own directory. I have to check.

GuillaumeGomez avatar Feb 19 '15 14:02 GuillaumeGomez

A bit offtopic, but how does the glib part of rgtk compare to: https://github.com/gi-rust

alexlarsson avatar Mar 10 '15 13:03 alexlarsson

@alexlarsson I believe glib here has mostly been focused on the needs of the GTK bindings. Some parts of it may have bitrotten. I'm playing with some ideas for making it less true to the GIR letter and more Rust-y.

gkoz avatar Mar 10 '15 15:03 gkoz