Cargo Features

[dependencies]
wasi = { version = "0.13.0+wasi-0.2.0", default-features = false, features = ["std", "rustc-dep-of-std"] }
default = std

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

std default
rustc-dep-of-std = compiler_builtins, core, rustc-std-workspace-alloc

Unstable feature to support being a libstd dependency

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.

compiler_builtins rustc-dep-of-std?

Enables compiler_builtins

When built as part of libstd

core rustc-dep-of-std?

Enables rustc-std-workspace-core

rustc-std-workspace-alloc rustc-dep-of-std?