jtomschroeder / cedar

Rust framework for building visual/interactive applications
MIT License
133 stars 9 forks source link

Split library bindings in different crates #11

Open Ppjet6 opened 7 years ago

Ppjet6 commented 7 years ago

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.

jtomschroeder commented 7 years ago

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.

Ppjet6 commented 7 years ago

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 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.

Agreed, it was mostly for reference! I'm having a look at the lib and it seems promising

-- Maxime “pep” Buquet