cedar icon indicating copy to clipboard operation
cedar copied to clipboard

Split library bindings in different crates

Open Ppjet6 opened this issue 7 years ago • 2 comments

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.

Ppjet6 avatar Jun 20 '17 12:06 Ppjet6

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.

jtomschroeder avatar Jun 20 '17 16:06 jtomschroeder

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

Ppjet6 avatar Jun 20 '17 16:06 Ppjet6