# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75" name = "lancedb" version = "0.14.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "LanceDB: A serverless, low-latency vector database for AI applications" readme = "README.md" keywords = [ "lancedb", "lance", "database", "vector", "search", ] categories = ["database-implementations"] license = "Apache-2.0" repository = "https://github.com/lancedb/lancedb" [lib] name = "lancedb" path = "src/lib.rs" [[example]] name = "bedrock" path = "examples/bedrock.rs" required-features = ["bedrock"] [[example]] name = "full_text_search" path = "examples/full_text_search.rs" [[example]] name = "ivf_pq" path = "examples/ivf_pq.rs" [[example]] name = "openai" path = "examples/openai.rs" required-features = ["openai"] [[example]] name = "sentence_transformers" path = "examples/sentence_transformers.rs" required-features = ["sentence-transformers"] [[example]] name = "simple" path = "examples/simple.rs" [[test]] name = "embedding_registry_test" path = "tests/embedding_registry_test.rs" [[test]] name = "object_store_test" path = "tests/object_store_test.rs" [dependencies.arrow] version = "53.2" [dependencies.arrow-array] version = "53.2" [dependencies.arrow-cast] version = "53.2" [dependencies.arrow-data] version = "53.2" [dependencies.arrow-ipc] version = "53.2" [dependencies.arrow-ord] version = "53.2" [dependencies.arrow-schema] version = "53.2" [dependencies.async-openai] version = "0.20.0" optional = true [dependencies.async-trait] version = "0" [dependencies.aws-sdk-bedrockruntime] version = "1.27.0" optional = true [dependencies.bytes] version = "1" [dependencies.candle-core] version = "0.6.0" optional = true [dependencies.candle-nn] version = "0.6.0" optional = true [dependencies.candle-transformers] version = "0.6.0" optional = true [dependencies.chrono] version = "0.4.35" [dependencies.datafusion-common] version = "42.0" [dependencies.datafusion-physical-plan] version = "42.0" [dependencies.futures] version = "0" [dependencies.half] version = "=2.4.1" features = ["num-traits"] default-features = false [dependencies.hf-hub] version = "0.3.2" optional = true [dependencies.http] version = "1" optional = true [dependencies.lance] version = "=0.20.0" features = ["dynamodb"] [dependencies.lance-datafusion] version = "0.20.0" [dependencies.lance-encoding] version = "0.20.0" [dependencies.lance-index] version = "0.20.0" [dependencies.lance-io] version = "0.20.0" [dependencies.lance-linalg] version = "0.20.0" [dependencies.lance-table] version = "0.20.0" [dependencies.lance-testing] version = "0.20.0" [dependencies.lazy_static] version = "1" [dependencies.log] version = "0.4" [dependencies.moka] version = "0.11" features = ["future"] [dependencies.num-traits] version = "0.2" [dependencies.object_store] version = "0.10.2" [dependencies.pin-project] version = "1.0.7" [dependencies.polars] version = ">=0.37,<0.40.0" optional = true [dependencies.polars-arrow] version = ">=0.37,<0.40.0" optional = true [dependencies.rand] version = "0.8.3" features = ["small_rng"] optional = true [dependencies.regex] version = "1.10" [dependencies.reqwest] version = "0.12.0" features = [ "charset", "gzip", "http2", "json", "macos-system-configuration", "stream", ] optional = true default-features = false [dependencies.serde] version = "^1" [dependencies.serde_json] version = "1" [dependencies.serde_with] version = "3.8.1" [dependencies.snafu] version = "0.7.4" [dependencies.tokenizers] version = "0.19.1" optional = true [dependencies.tokio] version = "1.23" features = ["rt-multi-thread"] [dependencies.url] version = "2" [dependencies.uuid] version = "1.7.0" features = ["v4"] optional = true [dev-dependencies.aws-config] version = "1.0" [dev-dependencies.aws-sdk-dynamodb] version = "1.38.0" [dev-dependencies.aws-sdk-kms] version = "1.37" [dev-dependencies.aws-sdk-s3] version = "1.38.0" [dev-dependencies.aws-smithy-runtime] version = "1.3" [dev-dependencies.http-body] version = "1" [dev-dependencies.rand] version = "0.8.3" features = ["small_rng"] [dev-dependencies.random_word] version = "0.4.3" features = ["en"] [dev-dependencies.tempfile] version = "3.5.0" [dev-dependencies.uuid] version = "1.7.0" features = ["v4"] [dev-dependencies.walkdir] version = "2" [features] bedrock = ["dep:aws-sdk-bedrockruntime"] default = ["default-tls"] default-tls = ["reqwest?/default-tls"] fp16kernels = ["lance-linalg/fp16kernels"] native-tls = ["reqwest?/native-tls"] openai = [ "dep:async-openai", "dep:reqwest", ] polars = [ "dep:polars-arrow", "dep:polars", ] remote = [ "dep:reqwest", "dep:http", "dep:rand", "dep:uuid", ] rustls-tls = ["reqwest?/rustls-tls"] s3-test = [] sentence-transformers = [ "dep:hf-hub", "dep:candle-core", "dep:candle-transformers", "dep:candle-nn", "dep:tokenizers", ]