Cargo Features

[dependencies]
vecmindb = { version = "0.1.0", default-features = false, features = ["full", "http-server", "simd", "gpu", "distributed", "linalg", "excel", "rhai", "arrow", "winapi", "parquet", "tempfile", "walkdir", "redis", "wasmtime", "multimodal", "websocket", "postgres", "cassandra", "neo4rs", "regex", "wasmparser", "memcached", "snappy", "grpc", "extension-module", "actix-cors"] }
default = http-server

The http-server feature is set by default whenever vecmindb is added without default-features = false somewhere in the dependency tree.

full = distributed, gpu, simd
http-server default = actix-rt, actix-web

Affects api::handlers, api::middleware, api::vector, api::collections, api::index, api::stats, api::response, api::server, config::Config.server, config::ServerConfig, vecmindb::api

Required by the vecmindb-server binary

simd full?
gpu full?

Affects config::ResourceConfig.gpu_enabled

distributed full? = redis

Affects config::CacheConfig.redis_url

linalg = ndarray-linalg
excel = calamine, rust_xlsxwriter

Affects file::excel_utils

rhai

Enables rhai

Scripting (optional)

arrow

Enables arrow ^50.0

Arrow data format (optional)

winapi

Enables winapi

parquet

Enables parquet ^50.0

tempfile

Enables tempfile

Temporary file support (optional)

Affects environment::ExecutionEnvironment.temp_dir, examples::run_vector_storage_example

walkdir

Enables walkdir

Directory walking (optional)

redis distributed?

Enables redis ^0.24

Caching

Affects distributed::RedisCache, kv_storage::RedisClient

wasmtime

Enables wasmparser ^0.121

WASM parsing (optional)

and wasmtime ^18.0

WASM runtime (optional, for algorithm sandbox)

and wasmtime-wasi ^18.0

WASM support (optional)

Affects environment::ExecutionEnvironment.wasm_engine, environment::ExecutionEnvironment.wasm_store, utils::execute_in_sandbox, utils::copy_input_to_memory, utils::read_from_memory, utils::free_memory, utils::WasmMemoryManager, utils::add_to_linker, wasm::Module

multimodal = image, realfft, reqwest, rustfft, symphonia

Affects image_processing::read_image_metadata, image_processing::convert_format, resize::resize_image, resize::resize_image_with_config, resize::create_thumbnail, resize::batch_resize, conversion::compute_fft, conversion::stft, conversion::magnitude_spectrum, extractors::apply_fft, extractors::compute_power_spectrum, extractors::apply_hanning_window, extractors::frame_signal, spectral::compute_mfcc, spectral::compute_melspectrogram, spectral::compute_chroma, spectral::compute_spectral_centroid, spectral::compute_spectral_rolloff, spectral::compute_zero_crossing_rate, spectral::compute_energy

websocket = tokio-tungstenite
postgres

Database connector features (optional, for future use)

mysql sqlite mongodb elasticsearch cassandra
neo4rs
regex

Other optional features

sysinfo wasmparser
memcached

Affects distributed::MemcachedCache

snappy
grpc

Affects remote::GetRequest, remote::GetResponse, remote::SetRequest, remote::SetResponse, remote::DeleteRequest, remote::DeleteResponse, remote::ClearRequest, remote::ClearResponse, remote::ExistsRequest, remote::ExistsResponse, remote::SizeRequest, remote::SizeResponse, remote::HealthCheckRequest, remote::HealthCheckResponse, remote::CacheService, remote::CacheServiceClient

extension-module

Enables extension-module of pyo3 ^0.20.0

pyo3:

Deprecated: use the PYO3_BUILD_EXTENSION_MODULE environment variable when building a Python extension module (set automatically by setuptools-rust and maturin).

Affects vecmindb::python_binding

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.

ndarray-linalg linalg?

Enables ndarray-linalg ^0.16

actix-web http-server

Enables actix-web

HTTP server (optional)

actix-rt http-server
actix-cors implicit feature

Enables actix-cors ^0.6

actix-cors:

Cross-Origin Resource Sharing (CORS) controls for Actix Web

calamine excel?

Enables calamine ^0.24

rust_xlsxwriter excel?

Enables rust_xlsxwriter ^0.75

image multimodal?

Enables image

Image processing (optional)

reqwest multimodal?

Enables reqwest ^0.11

HTTP client (optional)

tokio-tungstenite websocket?

Enables tokio-tungstenite ^0.20

WebSocket support (optional)

symphonia multimodal?

Enables symphonia

Audio processing (optional)

realfft multimodal?
rustfft multimodal?
pyo3 extension-module?

Enables pyo3 ^0.20.0