Build again on bincode 2 and fastembed 6.1 #16

Merged
azer merged 1 commit from fix/bincode-2-api into master 2026-10-02 06:07:13 +00:00
Owner

master does not compile: the bincode 2 bump removed serialize/deserialize, and fastembed 6.1 changed its error type.

  • bincode: serde API with config::legacy(), so the on-disk index format is unchanged and existing indexes still load.
  • fastembed: convert the error with ?.

Checked: cargo fmt --check, cargo clippy --all-features --all-targets -D warnings, cargo test --all-targets and --features treesitter,hnsw.

master does not compile: the bincode 2 bump removed `serialize`/`deserialize`, and fastembed 6.1 changed its error type. - bincode: serde API with `config::legacy()`, so the on-disk index format is unchanged and existing indexes still load. - fastembed: convert the error with `?`. Checked: `cargo fmt --check`, `cargo clippy --all-features --all-targets -D warnings`, `cargo test --all-targets` and `--features treesitter,hnsw`.
The bincode 2 bump landed without a build: serialize/deserialize are gone.
Use the serde API with config::legacy(), which keeps the bincode 1 wire
format, so indexes already on disk still load. fastembed 6.1 returns its
own error type, so convert it with ? instead of returning it as-is.
azer merged commit d8d7147365 into master 2026-10-02 06:07:13 +00:00
azer deleted branch fix/bincode-2-api 2026-10-02 06:07:13 +00:00
Commenting is not possible because the repository is archived.
No description provided.