From 34d6034e696108387241aa5282d1d78b0b4fc64f Mon Sep 17 00:00:00 2001 From: "renovate-appwrite[bot]" <300431578+renovate-appwrite[bot]@users.noreply.github.com> Date: Mon, 23 Nov 2026 07:00:26 +0000 Subject: [PATCH] fix(deps): update rust crate fastembed to v7 --- Cargo.lock | 49 ++++++++++++++++++++++++++++++++++++++++++++----- Cargo.toml | 2 +- 2 files changed, 45 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9a05e78..278425b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -436,6 +436,12 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" +[[package]] +name = "daachorse" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5614204febbc33cc07a2806aa6440b904ac012b68eecc37f4493ea4a76455a3d" + [[package]] name = "darling" version = "0.20.11" @@ -597,7 +603,7 @@ dependencies = [ "serde_json", "sysinfo", "tikv-jemallocator", - "tokenizers", + "tokenizers 0.22.2", "tokio", "tracing", "tracing-subscriber", @@ -687,11 +693,10 @@ dependencies = [ [[package]] name = "fastembed" -version = "5.17.4" +version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4539f4a2c4472269adc227587b935c0a973e6b5fc4a03e14bbe62608e06c2298" +checksum = "ca64ada7d0ad74737f45609542930cd5813fcb453b3f72ecb4255d8bd6fe4604" dependencies = [ - "anyhow", "hf-hub", "image", "ndarray", @@ -699,7 +704,8 @@ dependencies = [ "safetensors", "serde", "serde_json", - "tokenizers", + "thiserror", + "tokenizers 0.23.2", ] [[package]] @@ -2802,6 +2808,39 @@ dependencies = [ "unicode_categories", ] +[[package]] +name = "tokenizers" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7afbf6e88718afcc138bad01d6ccc3051dbbc3b2ce9793d8b8a3aeb610969cfc" +dependencies = [ + "ahash", + "compact_str", + "daachorse", + "dary_heap", + "derive_builder", + "esaxx-rs", + "getrandom 0.3.4", + "itertools", + "log", + "macro_rules_attribute", + "monostate", + "onig", + "paste", + "rand", + "rayon", + "rayon-cond", + "regex", + "regex-syntax", + "serde", + "serde_json", + "spm_precompiled", + "thiserror", + "unicode-normalization-alignments", + "unicode-segmentation", + "unicode_categories", +] + [[package]] name = "tokio" version = "1.54.1" diff --git a/Cargo.toml b/Cargo.toml index 02efe4d..c3ed450 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2024" [dependencies] axum = "0.8.7" -fastembed = "5.15.0" +fastembed = "7.0.0" futures = "0.3.32" hf-hub = "0.5.0" # Pinned to the ort fastembed uses so the CPU provider type matches.