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
somewhere in the dependency tree.default-features = false - 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
-
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.