Cargo Features

[dependencies]
kalosm-language-model = { version = "0.3.3", default-features = false, features = ["remote", "serde", "cache"] }
default = cache

The cache feature is set by default whenever kalosm-language-model is added without default-features = false somewhere in the dependency tree.

remote = async-openai
serde cache = safetensors

Enables serde

cache default = serde

Enables lru and postcard

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.

async-openai remote?

Enables async-openai ^0.14.2

safetensors serde?