Cargo Features
[dependencies]
kproc-llm = { version = "0.2.0", default-features = false, features = ["ollama", "llama.cpp", "image", "llama.cpp-vulkan", "llama.cpp-cuda", "template"] }
- default = template
-
The
template
feature is set by default wheneverkproc-llm
is added without
somewhere in the dependency tree.default-features = false - ollama = image, schemars
-
Enables ollama-rs ^0.2, ollama of kproc-values
Affects
kproc-llm::ollama
… - llama.cpp llama.cpp-cuda? llama.cpp-vulkan? = llama-cpp-2, template
-
Enables encoding_rs and hf-hub
Affects
kproc-llm::llama_cpp
… - image ollama?
-
Enables image of kproc-values
Affects
kproc-llm::Prompt.image
… - llama.cpp-vulkan = llama.cpp
-
Enables vulkan of llama-cpp-2
- llama.cpp-cuda = llama.cpp
-
Enables cuda of llama-cpp-2
- template default llama.cpp?
-
Enables minijinja
Affects
kproc-llm::template
…
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.