mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 19:49:22 +00:00
d25c668ee4
lazy_static, if no_std environments were used, effectively required always using spin locks. This resolves the ergonomics of that while adopting Rust std code. no_std does still use a spin based solution. Theoretically, we could use atomics, yet writing our own Mutex wasn't a priority. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE | ||
README.md |
std shims
A crate which passes through to std when the default std
feature is enabled,
yet provides a series of shims when it isn't.
HashSet
and HashMap
are provided via hashbrown
.