Cargo Features

[dependencies]
vectordb-cli = { version = "1.6.0", default-features = false, features = ["cli", "server", "onetime_rayon", "onnx", "cuda"] }
default = cli, onetime_rayon, ort

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

cli default
server

Enables vectordb-proto

Add this for code generation

and arc-swap, axum ^0.7.5, ctrlc, futures-util, http-body-util, tonic ^0.12, tonic-reflection ^0.12, and tower ^0.4

tonic:

Add gRPC dependencies (Update versions)

Affects edit::grpc, grpc_generated::editing, vectordb-cli::server, server::start_server, service::VectorDBServiceImpl

onetime_rayon default

Enables rayon

onnx = ort
cuda

Enables cuda of ort

ONNX Runtime dependencies

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.

ort default cuda? onnx?