Skip to content

Commit

Permalink
Update usearch to support lantern 0.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Jul 5, 2024
1 parent 0a3b170 commit 9c258af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function setup_postgres() {
}

function setup_lantern() {
LANTERN_VERSION=v0.2.7
LANTERN_VERSION=narek/streaming-hnsw-index-selects
git clone --recursive https://github.com/lanterndata/lantern.git /tmp/lantern
pushd /tmp/lantern
git checkout ${LANTERN_VERSION} && \
Expand Down
3 changes: 1 addition & 2 deletions lantern_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ strum = { version = "0.25", features = ["derive"] }
tiktoken-rs = "0.5.8"
regex = "1.10.3"
postgres-types = { version = "0.2.6", features = ["derive"] }
usearch = { git = "https://github.com/Ngalstyan4/usearch.git", rev = "2be73436c696c53b8c72449d5f802f7f4fc3132d" } # old lantern storage <= 0.2.7
# usearch = { git = "https://github.com/Ngalstyan4/usearch.git", branch = "main-lantern" } # new lantern storage > 0.2.7
usearch = { git = "https://github.com/Ngalstyan4/usearch.git", rev = "de8580c7e4f8d43d878905a7c81ec65fe0d5a2db" }
actix-web = { version = "4.5.1", optional = true }
env_logger = { version = "0.11.2", optional = true }
deadpool-postgres = { version = "0.12.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion lantern_extras/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lantern_extras"
version = "0.2.2"
version = "0.2.3"
edition = "2021"

[lib]
Expand Down

0 comments on commit 9c258af

Please sign in to comment.