Cargo Features

LanceDB has no features set by default.

[dependencies]
lancedb = { version = "0.13.0", features = ["remote", "fp16kernels", "s3-test", "bedrock", "openai", "polars", "sentence-transformers"] }
remote

Enables http and rand

http:

Matching what is in reqwest

and reqwest and uuid

reqwest:

For remote feature

Affects lancedb::remote

fp16kernels

Enables fp16kernels of lance-linalg

lance-linalg:

Enable compiling multiple C kernels for fp16 SIMD computations.
This requires GCC 12 / Clang 6 or later. (To get AVX-512 support,
you need Clang 11 or later.)

s3-test
bedrock

Enables aws-sdk-bedrockruntime

Affects embeddings::bedrock

openai

Enables async-openai ^0.20.0 and reqwest

Affects embeddings::openai

polars

Enables polars >=0.37, <0.40.0 and polars-arrow >=0.37, <0.40.0

Affects arrow::PolarsDataFrameRecordBatchReader, arrow::IntoPolars

sentence-transformers

Enables candle-core ^0.6.0, candle-nn ^0.6.0, candle-transformers ^0.6.0, hf-hub, and tokenizers ^0.19.1

Affects embeddings::sentence_transformers