Cargo Features

[dependencies]
nostd = { version = "0.1.1", default-features = false, features = ["std", "alloc", "io", "hashbrown"] }
default = alloc

The alloc feature is set by default whenever nostd is added without default-features = false somewhere in the dependency tree.

std = alloc
alloc default std?

Enables alloc of optional memchr

memchr:

The 'alloc' feature enables some APIs that require allocation, such as 'Finder::into_owned'. Note that this feature does not enable runtime CPU
feature detection. That still requires 'std'.

Affects traits::Read.read_to_end, nostd::collections

io = memchr

Affects nostd::io

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

hashbrown implicit feature

Enables hashbrown

hashbrown:

A Rust port of Google's SwissTable hash map

memchr io?