Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort out no_std support #86

Open
nicoburns opened this issue Jul 21, 2024 · 1 comment
Open

Sort out no_std support #86

nicoburns opened this issue Jul 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@nicoburns
Copy link
Contributor

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:

  • Nothing in this repo ought to be support in "no alloc" configurations
  • Fontique ought to work as "font database" and support querying, manual loading of fonts, etc without std. Backends should require std as needed (probably all of them?).
  • Parley ought to to fully function in "alloc but no std" mode. It ought to have no conditional code to enable this (except perhaps some conditional imports from the alloc crate). Parley will still transitively require std in some cases through it's dependencies.
@waywardmonkeys
Copy link
Contributor

See problem exposed in PR #124.

@xorgy xorgy added the enhancement New feature or request label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants