Cargo Features

[dependencies]
fastembed = { version = "4.1.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 =2.0.0-rc.5

ort-load-dynamic

Enables load-dynamic of ort =2.0.0-rc.5

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.