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

no_std + alloc Template Gen #62

Open
pinkforest opened this issue Jan 31, 2023 · 1 comment
Open

no_std + alloc Template Gen #62

pinkforest opened this issue Jan 31, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@pinkforest
Copy link
Contributor

  • Mostly the error type
  • alloc via feature that extern crate alloc
  • heapless via feature that brings heapless types
  • std is usually a default feature (when needed) or usually non-default that can be activated for std error type
  • error type is making it's way into core though and there is also core-error crate

e.g.

Also thiserror is simple to replace out

@zeeshanlakhani
Copy link
Contributor

Yep. A no_std variant with heapless would be nice, via prompt.

@zeeshanlakhani zeeshanlakhani added enhancement New feature or request help wanted Extra attention is needed labels Jan 31, 2023
@zeeshanlakhani zeeshanlakhani changed the title no_std + alloc Boilerplate no_std + alloc Template Gen Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants