Cargo Features
[dependencies]
llm_interface = { version = "0.0.2", default-features = false, features = ["all", "llama_cpp_backend", "mistral_rs_backend"] }
- default = llama_cpp_backend
-
The
llama_cpp_backend
feature is set by default wheneverllm_interface
is added without
somewhere in the dependency tree.default-features = false - all = llama_cpp_backend, mistral_rs_backend
- llama_cpp_backend default all? = clap, sysinfo
-
Affects
local::llama_cpp
,llms::local
…Required by the server_runner binary
- mistral_rs_backend all? = sysinfo
-
Affects
local::mistral_rs
,llms::local
…
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.