Cargo Features

[dependencies]
executorch = { version = "0.3.0", default-features = false, features = ["std", "alloc", "data-loader", "module", "f16", "complex"] }
default = std

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

std default module? = alloc

Enables std of executorch-sys and ndarray

alloc std

Affects evalue::IntoEValue.into_evalue

data-loader

Enables data-loader of executorch-sys

module = std

Enables module of executorch-sys

Affects executorch::module

f16 = half
complex = num-complex

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.

half f16?
num-complex complex?