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

Investigate possibility of no-std #7

Open
yds12 opened this issue Jan 23, 2022 · 1 comment
Open

Investigate possibility of no-std #7

yds12 opened this issue Jan 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@yds12
Copy link
Owner

yds12 commented Jan 23, 2022

Check if it's possible/easy to make the crate work in no-std environments.

@yds12 yds12 added the enhancement New feature or request label Jan 23, 2022
@yds12
Copy link
Owner Author

yds12 commented Aug 27, 2022

It will not be easy for 2 reasons:

  • we use &str which is in std, we would need to replace it with something like &[u8], but I'm not sure this would be useful;
  • we do some dynamic allocation for the Vec<Token>, that would have to be done with a no-std vector type.

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

1 participant