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 wheneverexecutorch
is added without
somewhere in the dependency tree.default-features = false - 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.