The only feature flag is std, which enables support for extension traits to memory-allocated types from std. Those can still be accessed in no_std crates via the built-in alloc crate, but this crate doesn't make use of alloc, meaning that it's currently impossible to use its allocator-related functionality in no_std contexts.
This can be solved by splitting the std feature into alloc and std (std will depend on alloc, for backwards compatibility): alloc will gate everything that requires an allocator, while std will only gate io::Read related features.
The only feature flag is
std
, which enables support for extension traits to memory-allocated types fromstd
. Those can still be accessed inno_std
crates via the built-inalloc
crate, but this crate doesn't make use ofalloc
, meaning that it's currently impossible to use its allocator-related functionality inno_std
contexts.This can be solved by splitting the
std
feature intoalloc
andstd
(std
will depend onalloc
, for backwards compatibility):alloc
will gate everything that requires an allocator, whilestd
will only gateio::Read
related features.