bytesize currently assumes that the alloc crate will be available, with no feature flags to toggle it on or off:
|
extern crate alloc; |
|
|
|
use alloc::string::ToString as _; |
However, I'd like to use this in an embedded environment, where alloc is genuinely not available, and I don't need the formatting capabilities it would offer. It would be nice if you could gate that behind an "alloc" feature flag, which would then be pulled in by the std feature flag. Thanks!