Cargo Features

safa-api has no features set by default.

[dependencies]
safa-api = { version = "0.1.7", features = ["std", "rustc-dep-of-std"] }
std

Enables std of safa-abi

Affects safa-api::errors.err_from_io_error_kind, safa-api::errors.err_from_io_error_kind

rustc-dep-of-std = alloc, core

Enables rustc-dep-of-std of compiler_builtins and safa-abi

compiler_builtins:

Only used in the compiler's build system

Affects safa-api::errors.err_from_io_error_kind

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

compiler_builtins rustc-dep-of-std?