Cargo Features

[dependencies]
fastembed = { version = "4.5.0", default-features = false, features = ["hf-hub", "hf-hub-native-tls", "hf-hub-rustls-tls", "ort-download-binaries", "ort-load-dynamic", "optimum-cli", "online"] }
default = hf-hub-native-tls, ort-download-binaries

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

hf-hub hf-hub-native-tls hf-hub-rustls-tls?

Enables ureq of hf-hub

Affects common::load_tokenizer_hf_hub

hf-hub-native-tls default online? = hf-hub

Enables native-tls of optional hf-hub

hf-hub-rustls-tls = hf-hub

Enables rustls-tls of optional 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.

online = hf-hub-native-tls

For compatibility recommend using hf-hub-native-tls