Cargo Features
[dependencies]
tflite = { version = "0.9.8", default-features = false, features = ["build", "debug_tflite", "generate_model_apis", "no_micro"] }
- default = build
-
The
build
feature is set by default whenevertflite
is added without
somewhere in the dependency tree.default-features = false - 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. These features may have been created by mistake, and this functionality may be removed in the future.
- bart build generate_model_apis?
- bart_derive build generate_model_apis?
- fs_extra build build