From 1d0578ce250d98af8b720ad17baf98a8f06686e6 Mon Sep 17 00:00:00 2001 From: Chang She <759245+changhiskhan@users.noreply.github.com> Date: Sun, 28 Jan 2024 11:40:52 -0800 Subject: [PATCH] doc(rust): minor fixes for Rust quick start. (#878) --- docs/src/basic.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/src/basic.md b/docs/src/basic.md index 1d070a27..5cca4f7e 100644 --- a/docs/src/basic.md +++ b/docs/src/basic.md @@ -25,10 +25,10 @@ === "Rust" ```shell - cargo install vectordb + cargo add vectordb ``` - !!! info "Rust crate is installed as source. You need to install protobuf." + !!! info "To use the vectordb create, you first need to install protobuf." === "macOS" @@ -42,6 +42,8 @@ sudo apt install -y protobuf-compiler libssl-dev ``` + !!! info "Please also make sure you're using the same version of Arrow as in the [vectordb crate](https://github.com/lancedb/lancedb/blob/main/Cargo.toml)" + ## How to connect to a database === "Python" @@ -69,7 +71,7 @@ } ``` - !!! info "See [examples/simple.rs](https://github.com/lancedb/lancedb/tree/main/rust/vectordb/src/examples/simple.rs) for a full working example." + !!! info "See [examples/simple.rs](https://github.com/lancedb/lancedb/tree/main/rust/vectordb/examples/simple.rs) for a full working example." LanceDB will create the directory if it doesn't exist (including parent directories).