linebender / parley

Rich text layout library
Apache License 2.0
229 stars 28 forks source link

Sort out no_std support #86

Open nicoburns opened 4 months ago

nicoburns commented 4 months ago

Currently parley has a std feature which can be disabled, and we are paying the maintenance cost of maintaining that, but it can't actually do anything useful when that feature is disabled. I would suggest that:

waywardmonkeys commented 1 month ago

See problem exposed in PR #124.

xStrom commented 3 weeks ago

I think a good first step is to get things actually compiling with no_std. That will allow us to at least not regress thanks to CI checks. Adding actually useful functionality can be a step after that.

With that goal, I managed to get fontique compiling in #158.

Now parley is more tricky, because swash does not yet support no_std. I started to add that support, but then found that @waywardmonkeys is already ahead of me with swash#63. Once that lands we can move forward with doing the same for parley.