Move to the latest version of arroy

This commit is contained in:
Kerollmops 2025-03-11 15:32:54 +01:00
parent f8ac575ec5
commit ff8cf38d6b
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F
4 changed files with 6 additions and 5 deletions

4
Cargo.lock generated
View File

@ -393,8 +393,8 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
[[package]]
name = "arroy"
version = "0.5.0"
source = "git+https://github.com/meilisearch/arroy?branch=update-heed-to-0-22#3b307a0e042c7527396ac36e6e88fc14372482da"
version = "0.6.0"
source = "git+https://github.com/meilisearch/arroy?branch=main#80a7f1ba60bd7d88d55ce958a7579d664fc769ce"
dependencies = [
"bytemuck",
"byteorder",

View File

@ -44,7 +44,7 @@ ureq = "2.12.1"
uuid = { version = "1.11.0", features = ["serde", "v4"] }
[dev-dependencies]
arroy = { git = "https://github.com/meilisearch/arroy", branch = "update-heed-to-0-22" }
arroy = { git = "https://github.com/meilisearch/arroy", branch = "main" }
big_s = "1.0.2"
crossbeam-channel = "0.5.14"
# fixed version due to format breakages in v1.40

View File

@ -87,7 +87,7 @@ rhai = { git = "https://github.com/rhaiscript/rhai", rev = "ef3df63121d27aacd838
"no_time",
"sync",
] }
arroy = { git = "https://github.com/meilisearch/arroy", branch = "update-heed-to-0-22" }
arroy = { git = "https://github.com/meilisearch/arroy", branch = "main" }
rand = "0.8.5"
tracing = "0.1.41"
ureq = { version = "2.12.1", features = ["json"] }

View File

@ -360,7 +360,8 @@ impl From<arroy::Error> for Error {
| arroy::Error::UnmatchingDistance { .. }
| arroy::Error::NeedBuild(_)
| arroy::Error::MissingKey { .. }
| arroy::Error::MissingMetadata(_) => {
| arroy::Error::MissingMetadata(_)
| arroy::Error::CannotDecodeKeyMode { .. } => {
Error::InternalError(InternalError::ArroyError(value))
}
}