mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
This is technically a semver break due to bumping spin to 0.10, with the types from spin being directly exposed. Long-term, we should not directly expose spin but instead have our own types which are thin wrappers around spin (clearly defining our API and allowing upgrading internals without breaking semver).
12 lines
433 B
Markdown
12 lines
433 B
Markdown
# 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.
|
|
|
|
No guarantee of one-to-one parity is provided. The shims provided aim to be sufficient for the
|
|
average case.
|
|
|
|
`HashSet` and `HashMap` are provided via `hashbrown`. Synchronization primitives are provided via
|
|
`spin` (avoiding a requirement on `critical-section`).
|
|
types are not guaranteed to be
|