Files
serai/common/std-shims
Luke Parker dd7dc0c1dc Add impl<R: Read> Read for &mut R to std_shims
Increases parity with `std::io`.
2025-09-12 18:26:27 -04:00
..
2025-08-25 10:06:35 -04:00

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