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

Static mem channel #2

Merged
merged 5 commits into from
Feb 22, 2024
Merged

Static mem channel #2

merged 5 commits into from
Feb 22, 2024

Conversation

Amjad50
Copy link
Owner

@Amjad50 Amjad50 commented Feb 22, 2024

Added implementation of 'static_mem' which allow using the channel without implementing heap.

This is useful for no_std environments without heap.

Heap implementation is now behind the feature 'alloc' which is enabled by default

This is a very important feature for static memory context.
Now we can easily use it as a static variable constant
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.

Thanks for integrating Codecov - We've got you covered ☂️

Now MSRV is 1.61.0 due to the use of const fns
Since its allocated anyway at runtime, there is no need for the extra syntax, and this makes it harder to initialize.
@Amjad50 Amjad50 merged commit 28bd7f7 into main Feb 22, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants