Cargo Features

[dependencies]
notstd_detect = { version = "0.4.0", default-features = false, features = ["std_detect_file_io", "std_detect_dlsym_getauxval", "std_detect_env_override", "rustc-dep-of-std"] }
default = std_detect_dlsym_getauxval, std_detect_file_io

These default features are set whenever notstd_detect is added without default-features = false somewhere in the dependency tree.

std_detect_file_io default = libc
std_detect_dlsym_getauxval default = libc
std_detect_env_override = libc
rustc-dep-of-std = alloc, compiler_builtins, core

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.

alloc rustc-dep-of-std?

Enables rustc-std-workspace-alloc

core rustc-dep-of-std?

Enables rustc-std-workspace-core

When built as part of libstd

compiler_builtins rustc-dep-of-std?
libc not win std_detect_dlsym_getauxval std_detect_env_override? std_detect_file_io