Cargo Features
[dependencies]
lancedb = { version = "0.14.1", default-features = false, features = ["remote", "fp16kernels", "s3-test", "bedrock", "openai", "polars", "sentence-transformers", "default-tls", "native-tls", "rustls-tls"] }
- default = default-tls
-
The
default-tls
feature is set by default wheneverlancedb
is added without
somewhere in the dependency tree.default-features = false - remote
-
http:
Matching what is in reqwest
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 ^0.3.2, and tokenizers ^0.19.1
Affects
embeddings::sentence_transformers
… - default-tls default
-
TLS
Enables default-tls of optional reqwest
- native-tls
-
Enables native-tls of optional reqwest
- rustls-tls
-
Enables rustls-tls of optional reqwest