Cargo Features

[dependencies]
lsp-ai = { version = "0.7.0", default-features = false, features = ["rayon", "simsimd", "llama_cpp", "metal", "cuda", "stress_test"] }
default = rayon, simsimd

These default features are set whenever lsp-ai is added without default-features = false somewhere in the dependency tree.

rayon default

Enables rayon, rayon of indexmap

simsimd default

Enables simsimd ^4.4.0

llama_cpp

Enables llama-cpp-2

metal

Enables metal of llama-cpp-2

cuda

Enables cuda of llama-cpp-2

stress_test

LSP-AI has 7 features without comments.