mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-14 07:42:28 +00:00
The Rust docs crate pinned lance-namespace 7.0.0 while lancedb 0.31.0 uses 8.0.0, so the connection example, which passes lance-namespace request types to lancedb, did not compile. It now pins 8.0.0, the version lancedb 0.31.0 itself depends on. It also enables lancedb's `remote` feature, without which the crate cannot compile an example that connects to LanceDB Enterprise. lancedb stays at 0.31.0 and no locked version changes: the lockfile loses the lance 7.0.0 crates the old pin pulled in and gains the `remote` feature's dependencies.
44 lines
817 B
TOML
44 lines
817 B
TOML
[package]
|
|
name = "rs"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
arrow-array = "58.3.0"
|
|
arrow-json = "58.3.0"
|
|
arrow-schema = "58.3.0"
|
|
futures = "0.3.31"
|
|
futures-util = "0.3.31"
|
|
lance-namespace = "8.0.0"
|
|
lancedb = { version = "0.31.0", features = ["polars", "remote"] }
|
|
polars = ">=0.37,<0.40.0"
|
|
polars-arrow = ">=0.37,<0.40.0"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1.0.145"
|
|
tempfile = "3.23.0"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
|
|
|
[[example]]
|
|
name = "basic_usage"
|
|
path = "basic_usage.rs"
|
|
|
|
[[example]]
|
|
name = "connection"
|
|
path = "connection.rs"
|
|
|
|
[[example]]
|
|
name = "quickstart"
|
|
path = "quickstart.rs"
|
|
|
|
[[example]]
|
|
name = "tables"
|
|
path = "tables.rs"
|
|
|
|
[[example]]
|
|
name = "multimodal"
|
|
path = "multimodal.rs"
|
|
|
|
[[example]]
|
|
name = "search"
|
|
path = "search.rs"
|