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

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.

clap llama_cpp_backend
sysinfo llama_cpp_backend mistral_rs_backend?

Enables sysinfo ^0.31.4