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
[F.A.Q.](https://docs.rs/once_cell/latest/once_cell/index.html#faq)
Should I use lazy_static or once_cell?
To the first approximation, once_cell is both more flexible and more convenient than lazy_static and should be preferred.
Unlike once_cell, lazy_static supports spinlock-based implementation of blocking which works with #![no_std].
lazy_static has received significantly more real world testing, but once_cell is also a widely used crate.
Maybe, you could also mention critical section based implementation for no_std ??
The text was updated successfully, but these errors were encountered:
From FAQ section on docs:
Maybe, you could also mention critical section based implementation for no_std ??
The text was updated successfully, but these errors were encountered: