Cargo Features

tflite = { version = "0.9.7", default-features = false, features = ["build", "debug_tflite", "generate_model_apis", "no_micro"] }
default = build

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

build default debug_tflite? no_micro? = fs_extra
debug_tflite = build

use "libtensorflow-lite.a" built in debug mode

generate_model_apis = bart, bart_derive
no_micro = build

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

bart build generate_model_apis?
bart_derive build generate_model_apis?
fs_extra build build