Cargo Features
[dependencies]
hermes-core = { version = "1.8.34", default-features = false, features = ["native", "sync", "diagnostics", "fst-index", "wasm", "http"] }
- default = sync
-
The
syncfeature is set by default wheneverhermes-coreis added withoutsomewhere in the dependency tree.default-features = false - native sync = fst-index
-
Enables async-channel, bumpalo, crossbeam-channel, hf-hub ^0.4, kentro, lasso, libc, memmap2, nalgebra, ndarray ^0.16, num_cpus, rayon, tokenizers, tokio, and uuid
Affects
directory::FsDirectory,index::Index,hermes-core::DefaultDirectory,hermes-core::default_indexing_threads,hermes-core::default_compression_threads,ann_build::new_ivf_rabitq,ann_build::serialize_ivf_rabitq,ann_build::new_scann,ann_build::serialize_scann,store::EagerParallelStoreWriter,hf_tokenizer::TokenizerCache,hf_tokenizer::tokenizer_cache,idf_weights::IdfWeights,idf_weights::IdfWeightsCache,idf_weights::idf_weights_cache… - sync default = native
-
Affects
collector::search_segment_with_count_sync,collector::search_segment_with_positions_and_count_sync,collector::collect_segment_with_limit_sync… - diagnostics
- fst-index native? wasm?
-
Enables fst
Affects
sstable_index::FstBlockIndex… - wasm = fst-index
-
Enables tokenizers
- http