From c7d37b3e6ee0ae8d29af52c6cbae898651ae9d2a Mon Sep 17 00:00:00 2001 From: Will Jones Date: Tue, 25 Jun 2024 08:20:31 -0700 Subject: [PATCH] docs: add tip about lzma linking (#1397) Similar to https://github.com/lancedb/lance/pull/2505 --- rust/lancedb/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rust/lancedb/README.md b/rust/lancedb/README.md index 3bf36d7a..2ce8b510 100644 --- a/rust/lancedb/README.md +++ b/rust/lancedb/README.md @@ -6,3 +6,12 @@ LanceDB Rust SDK, a serverless vector database. Read more at: https://lancedb.com/ + +> [!TIP] +> A transitive dependency of `lancedb` is `lzma-sys`, which uses dynamic linking +> by default. If you want to statically link `lzma-sys`, you should activate it's +> `static` feature by adding the following to your dependencies: +> +> ```toml +> lzma-sys = { version = "*", features = ["static"] } +> ```