Cargo Features

[dependencies]
fastembed = { version = "4.2.0", default-features = false, features = ["online", "ort-download-binaries", "ort-load-dynamic", "optimum-cli"] }
default = online, ort-download-binaries

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

online default

Enables online of hf-hub

Affects common::load_tokenizer_hf_hub

ort-download-binaries default

Enables download-binaries of ort

ort-load-dynamic

Enables load-dynamic of ort

optimum-cli

This feature does not change any code, but is used to limit tests if the user does not have optimum-cli or even python installed.