cedar
cedar copied to clipboard
Split library bindings in different crates
It would be nice to be able to pull only the required/desired graphics libraries. Looking at the code it's already almost this way so thumbs up.
That would be a nice feature. Right now, the graphics libraries are behind feature
gates, so the functionality of 'swapping' is essentially there, but not as pronounced as separate crates would be. The 'core' design of cedar
still requires some iteration and thought (i.e. what should a functional-reactive, platform-agnostic library look like?). Until that happens and the core API is stabilized, separating crates might be more trouble than it's worth.
On 2017/06/20, Tom Schroeder wrote:
That would be a nice feature. Right now, the graphics libraries are behind
feature
gates, so the functionality of 'swapping' is essentially there, but not as pronounced as separate crates would be. The 'core' design ofcedar
still requires some iteration and thought (i.e. what should a functional-reactive, platform-agnostic library look like?). Until that happens and the core API is stabilized, separating crates might be more trouble than it's worth.
Agreed, it was mostly for reference! I'm having a look at the lib and it seems promising
-- Maxime “pep” Buquet