You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have a "lite" version of the macros in cortex-m-rt which are written without proc-macro and related dependencies. For smaller applications which do not have a lot of crates in their dependency graphs this would be a nice way to reduce compile times a bit.
This would be a similar to what pin-project-lite is to pin-project. There is probably a discussion around whether this warrants a new crate (such as cortex-m-rt-lite) or simply a feature flag in cortex-m-rt to swap between procedural and declarative macro implementations.
It would be great to have a "lite" version of the macros in
cortex-m-rt
which are written without proc-macro and related dependencies. For smaller applications which do not have a lot of crates in their dependency graphs this would be a nice way to reduce compile times a bit.This would be a similar to what
pin-project-lite
is topin-project
. There is probably a discussion around whether this warrants a new crate (such ascortex-m-rt-lite
) or simply a feature flag incortex-m-rt
to swap between procedural and declarative macro implementations.This would allow users to write code like:
If you broadly agree with the change I'd be happy to implement it and submit a PR.
The text was updated successfully, but these errors were encountered: