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

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))
}
}