Description
The feature docs here seem to imply the existence of an alloc
feature when they mention:
Versions <= 2.5.2 of the crate have no default features. Versions > 2.5.2 have the default feature ‘std’. If you are upgrading across this boundary and you have specified default-features = false, then you will need to add the ‘std’ feature or the ‘alloc’ feature to your dependency. ...
However, an alloc
feature does not seem to exist.
I'm assuming this is a documentation error, since from looking at the code, it looks like if default-features = false
is specified and the std
feature is not enabled, then alloc-based code will be used by default instead of std-based code, but I just wanted to create this issue to confirm this, and to report the documentation error if this is the case