Cargo Features

Lance has no features set by default.

[dependencies]
lance = { version = "0.24.1", features = ["fp16kernels", "cli", "tensorflow", "dynamodb", "dynamodb_tests", "substrait", "protoc", "lapack"] }
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.)

cli dev = clap

Prevent dynamic linking of lzma, which comes from datafusion

Enables static of lzma-sys

Required by the lq binary

tensorflow = prost_old, tfrecord
dynamodb dynamodb_tests? = aws-sdk-dynamodb

Enables dynamodb of lance-table

dynamodb_tests = dynamodb
substrait

Enables substrait of lance-datafusion

protoc

Enables protoc of lance-encoding, lance-file, lance-index, and lance-table

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.

clap cli?
lapack implicit feature

Enables lapack ^0.19.0

lapack:

The package provides wrappers for LAPACK (Fortran)

tfrecord tensorflow?

Affects utils::tfrecord

prost_old tensorflow?

Enables prost ^0.12.6

aws-sdk-dynamodb dynamodb?