diff --git a/Cargo.lock b/Cargo.lock index 7f423a6c..77eb57b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1139,7 +1139,7 @@ dependencies = [ "bitflags 2.9.4", "cexpr", "clang-sys", - "itertools 0.12.1", + "itertools 0.11.0", "lazy_static", "lazycell", "log", @@ -1566,7 +1566,7 @@ checksum = "e0d05af1e006a2407bedef5af410552494ce5be9090444dbbcb57258c1af3d56" dependencies = [ "crossterm 0.27.0", "crossterm 0.28.1", - "strum 0.26.3", + "strum", "strum_macros 0.26.4", "unicode-width", ] @@ -3042,16 +3042,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" -[[package]] -name = "fsst" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "480fc4f47567da549ab44bb2f37f6db1570c9eff7200e50334b69fa1daa74339" -dependencies = [ - "arrow-array", - "rand 0.9.2", -] - [[package]] name = "fsst" version = "0.38.3-beta.5" @@ -4237,69 +4227,6 @@ dependencies = [ "simple_asn1", ] -[[package]] -name = "lance" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e2d2472f58d01894bc5f0a9f9d28dfca4649c9e28faf467c47e87f788ef322b" -dependencies = [ - "arrow", - "arrow-arith", - "arrow-array", - "arrow-buffer", - "arrow-ipc", - "arrow-ord", - "arrow-row", - "arrow-schema", - "arrow-select", - "async-recursion", - "async-trait", - "async_cell", - "aws-credential-types", - "byteorder", - "bytes", - "chrono", - "dashmap", - "datafusion", - "datafusion-expr", - "datafusion-functions", - "datafusion-physical-expr", - "datafusion-physical-plan", - "deepsize", - "either", - "futures", - "half", - "humantime", - "itertools 0.13.0", - "lance-arrow 0.38.2", - "lance-core 0.38.2", - "lance-datafusion 0.38.2", - "lance-encoding 0.38.2", - "lance-file 0.38.2", - "lance-index 0.38.2", - "lance-io 0.38.2", - "lance-linalg 0.38.2", - "lance-table 0.38.2", - "log", - "moka", - "object_store", - "permutation", - "pin-project", - "prost", - "prost-types", - "rand 0.9.2", - "roaring", - "serde", - "serde_json", - "snafu", - "tantivy", - "tokio", - "tokio-stream", - "tracing", - "url", - "uuid", -] - [[package]] name = "lance" version = "0.38.3-beta.5" @@ -4334,16 +4261,16 @@ dependencies = [ "half", "humantime", "itertools 0.13.0", - "lance-arrow 0.38.3-beta.5", - "lance-core 0.38.3-beta.5", - "lance-datafusion 0.38.3-beta.5", - "lance-encoding 0.38.3-beta.5", - "lance-file 0.38.3-beta.5", - "lance-index 0.38.3-beta.5", - "lance-io 0.38.3-beta.5", - "lance-linalg 0.38.3-beta.5", - "lance-namespace 0.38.3-beta.5", - "lance-table 0.38.3-beta.5", + "lance-arrow", + "lance-core", + "lance-datafusion", + "lance-encoding", + "lance-file", + "lance-index", + "lance-io", + "lance-linalg", + "lance-namespace", + "lance-table", "log", "moka", "object_store", @@ -4364,26 +4291,6 @@ dependencies = [ "uuid", ] -[[package]] -name = "lance-arrow" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2abba8770c4217fbdc8b517cdfb7183639b02dc5c2bcad1e7c69ffdcf4fbe1a" -dependencies = [ - "arrow-array", - "arrow-buffer", - "arrow-cast", - "arrow-data", - "arrow-schema", - "arrow-select", - "bytes", - "getrandom 0.2.16", - "half", - "jsonb", - "num-traits", - "rand 0.9.2", -] - [[package]] name = "lance-arrow" version = "0.38.3-beta.5" @@ -4403,17 +4310,6 @@ dependencies = [ "rand 0.9.2", ] -[[package]] -name = "lance-bitpacking" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efb7af69bff8d8499999684f961b0a4dc6e159065c773041545d19bc158f0814" -dependencies = [ - "arrayref", - "paste", - "seq-macro", -] - [[package]] name = "lance-bitpacking" version = "0.38.3-beta.5" @@ -4424,44 +4320,6 @@ dependencies = [ "seq-macro", ] -[[package]] -name = "lance-core" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "356a5df5f9cd7cb4aedaf78a4e346190ae50ba574b828316caed7d1df3b6dcd8" -dependencies = [ - "arrow-array", - "arrow-buffer", - "arrow-schema", - "async-trait", - "byteorder", - "bytes", - "chrono", - "datafusion-common", - "datafusion-sql", - "deepsize", - "futures", - "lance-arrow 0.38.2", - "libc", - "log", - "mock_instant", - "moka", - "num_cpus", - "object_store", - "pin-project", - "prost", - "rand 0.9.2", - "roaring", - "serde_json", - "snafu", - "tempfile", - "tokio", - "tokio-stream", - "tokio-util", - "tracing", - "url", -] - [[package]] name = "lance-core" version = "0.38.3-beta.5" @@ -4478,7 +4336,7 @@ dependencies = [ "datafusion-sql", "deepsize", "futures", - "lance-arrow 0.38.3-beta.5", + "lance-arrow", "libc", "log", "mock_instant", @@ -4499,36 +4357,6 @@ dependencies = [ "url", ] -[[package]] -name = "lance-datafusion" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e8ec07021bdaba6a441563d8fbcb0431350aae6842910ae3622557765f218f" -dependencies = [ - "arrow", - "arrow-array", - "arrow-buffer", - "arrow-ord", - "arrow-schema", - "arrow-select", - "async-trait", - "datafusion", - "datafusion-common", - "datafusion-functions", - "datafusion-physical-expr", - "futures", - "jsonb", - "lance-arrow 0.38.2", - "lance-core 0.38.2", - "lance-datagen 0.38.2", - "log", - "pin-project", - "prost", - "snafu", - "tokio", - "tracing", -] - [[package]] name = "lance-datafusion" version = "0.38.3-beta.5" @@ -4548,9 +4376,9 @@ dependencies = [ "datafusion-physical-expr", "futures", "jsonb", - "lance-arrow 0.38.3-beta.5", - "lance-core 0.38.3-beta.5", - "lance-datagen 0.38.3-beta.5", + "lance-arrow", + "lance-core", + "lance-datagen", "log", "pin-project", "prost", @@ -4559,25 +4387,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "lance-datagen" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4fe98730cd5297dc68b22f6ad7e1e27cf34e2db05586b64d3540ca74a519a61" -dependencies = [ - "arrow", - "arrow-array", - "arrow-cast", - "arrow-schema", - "chrono", - "futures", - "half", - "hex", - "rand 0.9.2", - "rand_xoshiro", - "random_word 0.5.2", -] - [[package]] name = "lance-datagen" version = "0.38.3-beta.5" @@ -4596,45 +4405,6 @@ dependencies = [ "random_word 0.5.2", ] -[[package]] -name = "lance-encoding" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef073d419cc00ef41dd95cb25203b333118b224151ae397145530b1d559769c9" -dependencies = [ - "arrow-arith", - "arrow-array", - "arrow-buffer", - "arrow-cast", - "arrow-data", - "arrow-schema", - "arrow-select", - "bytemuck", - "byteorder", - "bytes", - "fsst 0.38.2", - "futures", - "hex", - "hyperloglogplus", - "itertools 0.13.0", - "lance-arrow 0.38.2", - "lance-bitpacking 0.38.2", - "lance-core 0.38.2", - "log", - "lz4", - "num-traits", - "prost", - "prost-build", - "prost-types", - "rand 0.9.2", - "snafu", - "strum 0.25.0", - "tokio", - "tracing", - "xxhash-rust", - "zstd", -] - [[package]] name = "lance-encoding" version = "0.38.3-beta.5" @@ -4650,14 +4420,14 @@ dependencies = [ "bytemuck", "byteorder", "bytes", - "fsst 0.38.3-beta.5", + "fsst", "futures", "hex", "hyperloglogplus", "itertools 0.13.0", - "lance-arrow 0.38.3-beta.5", - "lance-bitpacking 0.38.3-beta.5", - "lance-core 0.38.3-beta.5", + "lance-arrow", + "lance-bitpacking", + "lance-core", "log", "lz4", "num-traits", @@ -4666,48 +4436,13 @@ dependencies = [ "prost-types", "rand 0.9.2", "snafu", - "strum 0.26.3", + "strum", "tokio", "tracing", "xxhash-rust", "zstd", ] -[[package]] -name = "lance-file" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e34aba3a41f119188da997730560e4a6915ee5a38b672bbf721fdc99121aa1e" -dependencies = [ - "arrow-arith", - "arrow-array", - "arrow-buffer", - "arrow-data", - "arrow-schema", - "arrow-select", - "async-recursion", - "async-trait", - "byteorder", - "bytes", - "datafusion-common", - "deepsize", - "futures", - "lance-arrow 0.38.2", - "lance-core 0.38.2", - "lance-encoding 0.38.2", - "lance-io 0.38.2", - "log", - "num-traits", - "object_store", - "prost", - "prost-build", - "prost-types", - "roaring", - "snafu", - "tokio", - "tracing", -] - [[package]] name = "lance-file" version = "0.38.3-beta.5" @@ -4726,10 +4461,10 @@ dependencies = [ "datafusion-common", "deepsize", "futures", - "lance-arrow 0.38.3-beta.5", - "lance-core 0.38.3-beta.5", - "lance-encoding 0.38.3-beta.5", - "lance-io 0.38.3-beta.5", + "lance-arrow", + "lance-core", + "lance-encoding", + "lance-io", "log", "num-traits", "object_store", @@ -4742,70 +4477,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "lance-index" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f480f801c8efb41a6dedc48a5cacff6044a10f82c6f9764b8dac7194a7754e" -dependencies = [ - "arrow", - "arrow-arith", - "arrow-array", - "arrow-ord", - "arrow-schema", - "arrow-select", - "async-channel", - "async-recursion", - "async-trait", - "bitpacking", - "bitvec", - "bytes", - "crossbeam-queue", - "datafusion", - "datafusion-common", - "datafusion-expr", - "datafusion-physical-expr", - "datafusion-sql", - "deepsize", - "dirs", - "fastbloom", - "fst", - "futures", - "half", - "itertools 0.13.0", - "jsonb", - "lance-arrow 0.38.2", - "lance-core 0.38.2", - "lance-datafusion 0.38.2", - "lance-datagen 0.38.2", - "lance-encoding 0.38.2", - "lance-file 0.38.2", - "lance-io 0.38.2", - "lance-linalg 0.38.2", - "lance-table 0.38.2", - "libm", - "log", - "ndarray", - "num-traits", - "object_store", - "prost", - "prost-build", - "prost-types", - "rand 0.9.2", - "rand_distr 0.5.1", - "rayon", - "roaring", - "serde", - "serde_json", - "snafu", - "tantivy", - "tempfile", - "tokio", - "tracing", - "twox-hash", - "uuid", -] - [[package]] name = "lance-index" version = "0.38.3-beta.5" @@ -4837,15 +4508,15 @@ dependencies = [ "half", "itertools 0.13.0", "jsonb", - "lance-arrow 0.38.3-beta.5", - "lance-core 0.38.3-beta.5", - "lance-datafusion 0.38.3-beta.5", - "lance-datagen 0.38.3-beta.5", - "lance-encoding 0.38.3-beta.5", - "lance-file 0.38.3-beta.5", - "lance-io 0.38.3-beta.5", - "lance-linalg 0.38.3-beta.5", - "lance-table 0.38.3-beta.5", + "lance-arrow", + "lance-core", + "lance-datafusion", + "lance-datagen", + "lance-encoding", + "lance-file", + "lance-io", + "lance-linalg", + "lance-table", "libm", "log", "ndarray", @@ -4869,47 +4540,6 @@ dependencies = [ "uuid", ] -[[package]] -name = "lance-io" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0708125c74965b2b7e5e0c4fe2d8e6bd8346a7031484f8844cf06c08bfa29a72" -dependencies = [ - "arrow", - "arrow-arith", - "arrow-array", - "arrow-buffer", - "arrow-cast", - "arrow-data", - "arrow-schema", - "arrow-select", - "async-recursion", - "async-trait", - "aws-config", - "aws-credential-types", - "byteorder", - "bytes", - "chrono", - "deepsize", - "futures", - "lance-arrow 0.38.2", - "lance-core 0.38.2", - "log", - "object_store", - "object_store_opendal", - "opendal", - "path_abs", - "pin-project", - "prost", - "rand 0.9.2", - "serde", - "shellexpand", - "snafu", - "tokio", - "tracing", - "url", -] - [[package]] name = "lance-io" version = "0.38.3-beta.5" @@ -4932,9 +4562,9 @@ dependencies = [ "chrono", "deepsize", "futures", - "lance-arrow 0.38.3-beta.5", - "lance-core 0.38.3-beta.5", - "lance-namespace 0.38.3-beta.5", + "lance-arrow", + "lance-core", + "lance-namespace", "log", "object_store", "object_store_opendal", @@ -4951,31 +4581,6 @@ dependencies = [ "url", ] -[[package]] -name = "lance-linalg" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da9d1c22deed92420a1869e4b89188ccecc7e1aee2ea4e5bca92eae861511d60" -dependencies = [ - "arrow-array", - "arrow-buffer", - "arrow-ord", - "arrow-schema", - "bitvec", - "cc", - "deepsize", - "futures", - "half", - "lance-arrow 0.38.2", - "lance-core 0.38.2", - "log", - "num-traits", - "rand 0.9.2", - "rayon", - "tokio", - "tracing", -] - [[package]] name = "lance-linalg" version = "0.38.3-beta.5" @@ -4990,8 +4595,8 @@ dependencies = [ "deepsize", "futures", "half", - "lance-arrow 0.38.3-beta.5", - "lance-core 0.38.3-beta.5", + "lance-arrow", + "lance-core", "log", "num-traits", "rand 0.9.2", @@ -5002,33 +4607,35 @@ dependencies = [ [[package]] name = "lance-namespace" -version = "0.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c0629165b5d85ff305f2de8833dcee507e899b36b098864c59f14f3b8b8e62d" +version = "0.38.3-beta.5" +source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.5#ea6f6f5cd5587523a68f9a63855f2ee518f32d10" dependencies = [ "arrow", "async-trait", "bytes", - "lance 0.38.2", + "lance-core", "lance-namespace-reqwest-client", + "snafu", +] + +[[package]] +name = "lance-namespace-impls" +version = "0.38.3-beta.5" +source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.5#ea6f6f5cd5587523a68f9a63855f2ee518f32d10" +dependencies = [ + "arrow", + "arrow-ipc", + "arrow-schema", + "async-trait", + "bytes", + "lance", + "lance-core", + "lance-namespace", "opendal", "reqwest", "serde_json", - "thiserror 1.0.69", - "url", -] - -[[package]] -name = "lance-namespace" -version = "0.38.3-beta.5" -source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.5#ea6f6f5cd5587523a68f9a63855f2ee518f32d10" -dependencies = [ - "arrow", - "async-trait", - "bytes", - "lance-core 0.38.3-beta.5", - "lance-namespace-reqwest-client", "snafu", + "url", ] [[package]] @@ -5044,44 +4651,6 @@ dependencies = [ "url", ] -[[package]] -name = "lance-table" -version = "0.38.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "805e6c64efbb3295f74714668c9033121ffdfa6c868f067024e65ade700b8b8b" -dependencies = [ - "arrow", - "arrow-array", - "arrow-buffer", - "arrow-ipc", - "arrow-schema", - "async-trait", - "byteorder", - "bytes", - "chrono", - "deepsize", - "futures", - "lance-arrow 0.38.2", - "lance-core 0.38.2", - "lance-file 0.38.2", - "lance-io 0.38.2", - "log", - "object_store", - "prost", - "prost-build", - "prost-types", - "rand 0.9.2", - "rangemap", - "roaring", - "serde", - "serde_json", - "snafu", - "tokio", - "tracing", - "url", - "uuid", -] - [[package]] name = "lance-table" version = "0.38.3-beta.5" @@ -5100,10 +4669,10 @@ dependencies = [ "chrono", "deepsize", "futures", - "lance-arrow 0.38.3-beta.5", - "lance-core 0.38.3-beta.5", - "lance-file 0.38.3-beta.5", - "lance-io 0.38.3-beta.5", + "lance-arrow", + "lance-core", + "lance-file", + "lance-io", "log", "object_store", "prost", @@ -5128,7 +4697,7 @@ source = "git+https://github.com/lancedb/lance.git?tag=v0.38.3-beta.5#ea6f6f5cd5 dependencies = [ "arrow-array", "arrow-schema", - "lance-arrow 0.38.3-beta.5", + "lance-arrow", "num-traits", "rand 0.9.2", ] @@ -5173,17 +4742,18 @@ dependencies = [ "hf-hub", "http 1.3.1", "http-body 1.0.1", - "lance 0.38.3-beta.5", - "lance-core 0.38.3-beta.5", - "lance-datafusion 0.38.3-beta.5", - "lance-datagen 0.38.3-beta.5", - "lance-encoding 0.38.3-beta.5", - "lance-file 0.38.3-beta.5", - "lance-index 0.38.3-beta.5", - "lance-io 0.38.3-beta.5", - "lance-linalg 0.38.3-beta.5", - "lance-namespace 0.0.18", - "lance-table 0.38.3-beta.5", + "lance", + "lance-core", + "lance-datafusion", + "lance-datagen", + "lance-encoding", + "lance-file", + "lance-index", + "lance-io", + "lance-linalg", + "lance-namespace", + "lance-namespace-impls", + "lance-table", "lance-testing", "lazy_static", "log", @@ -5219,7 +4789,7 @@ dependencies = [ "arrow", "arrow-schema", "jni", - "lance 0.38.3-beta.5", + "lance", "lancedb", "lazy_static", "serde", @@ -6845,8 +6415,8 @@ version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be769465445e8c1474e9c5dac2018218498557af32d9ed057325ec9a41ae81bf" dependencies = [ - "heck 0.5.0", - "itertools 0.14.0", + "heck 0.4.1", + "itertools 0.11.0", "log", "multimap", "once_cell", @@ -6866,7 +6436,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" dependencies = [ "anyhow", - "itertools 0.14.0", + "itertools 0.11.0", "proc-macro2", "quote", "syn 2.0.106", @@ -8174,7 +7744,7 @@ version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1c97747dbf44bb1ca44a561ece23508e99cb592e862f22222dcf42f51d1e451" dependencies = [ - "heck 0.5.0", + "heck 0.4.1", "proc-macro2", "quote", "syn 2.0.106", @@ -8343,15 +7913,6 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" -[[package]] -name = "strum" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" -dependencies = [ - "strum_macros 0.25.3", -] - [[package]] name = "strum" version = "0.26.3" diff --git a/Cargo.toml b/Cargo.toml index 3291d3b7..a8eb9762 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,11 +22,12 @@ lance-file = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = " lance-io = { "version" = "=0.38.3-beta.5", default-features = false, "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } lance-index = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } lance-linalg = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } +lance-namespace = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } +lance-namespace-impls = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } lance-table = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } lance-testing = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } lance-datafusion = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } lance-encoding = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } -lance-namespace = "0.0.18" ahash = "0.8" # Note that this one does not include pyarrow arrow = { version = "56.2", optional = false } @@ -63,16 +64,4 @@ semver = "1.0.25" crunchy = "0.2.4" chrono = "0.4" # Workaround for: https://github.com/Lokathor/bytemuck/issues/306 -bytemuck_derive = ">=1.8.1, <1.9.0" - -# This is only needed when we reference preview releases of lance -# Force to use the same lance version as the rest of the project to avoid duplicate dependencies -[patch.crates-io] -lance = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } -lance-io = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } -lance-index = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } -lance-linalg = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } -lance-table = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } -lance-testing = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } -lance-datafusion = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } -lance-encoding = { "version" = "=0.38.3-beta.5", "tag" = "v0.38.3-beta.5", "git" = "https://github.com/lancedb/lance.git" } +bytemuck_derive = ">=1.8.1, <1.9.0" \ No newline at end of file diff --git a/ci/set_lance_version.py b/ci/set_lance_version.py index edad9618..b9f4e1e3 100644 --- a/ci/set_lance_version.py +++ b/ci/set_lance_version.py @@ -117,7 +117,7 @@ def update_cargo_toml(line_updater): lance_line = "" is_parsing_lance_line = False for line in lines: - if line.startswith("lance") and not line.startswith("lance-namespace"): + if line.startswith("lance"): # Check if this is a single-line or multi-line entry # Single-line entries either: # 1. End with } (complete inline table) diff --git a/rust/lancedb/Cargo.toml b/rust/lancedb/Cargo.toml index 159d1619..ad34e9f7 100644 --- a/rust/lancedb/Cargo.toml +++ b/rust/lancedb/Cargo.toml @@ -43,6 +43,7 @@ lance-linalg = { workspace = true } lance-testing = { workspace = true } lance-encoding = { workspace = true } lance-namespace = { workspace = true } +lance-namespace-impls = { workspace = true, features = ["dir", "rest"] } moka = { workspace = true } pin-project = { workspace = true } tokio = { version = "1.23", features = ["rt-multi-thread"] } diff --git a/rust/lancedb/src/database/namespace.rs b/rust/lancedb/src/database/namespace.rs index 37d928f8..e8c5c3a5 100644 --- a/rust/lancedb/src/database/namespace.rs +++ b/rust/lancedb/src/database/namespace.rs @@ -8,13 +8,13 @@ use std::sync::Arc; use async_trait::async_trait; use lance_namespace::{ - connect as connect_namespace, models::{ CreateEmptyTableRequest, CreateNamespaceRequest, DescribeTableRequest, DropNamespaceRequest, DropTableRequest, ListNamespacesRequest, ListTablesRequest, }, LanceNamespace, }; +use lance_namespace_impls::connect::connect as connect_namespace; use crate::database::listing::ListingDatabase; use crate::error::{Error, Result};