From 2bcf73d2fc99403d1007cd066a90e74a07d95d93 Mon Sep 17 00:00:00 2001 From: flupkede Date: Tue, 15 Sep 2026 17:07:48 +0200 Subject: [PATCH] [worker] fase D4: thiserror 1.0 -> 2.0 (drop-in, nul call-site wijzigingen) --- CHANGELOG.md | 2 ++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ef1e6df..655c03d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,8 @@ finalized in place with a date — no renaming/migration step needed. - **TUI stack majors: ratatui 0.30, crossterm 0.29.** Zero call-site changes — the serve TUI sits on stable surface (`CrosstermBackend`, `Terminal`, `TableState`, `Paragraph`, `Layout`). This removes the last lru 0.12.5 path (ratatui's chain now carries lru 0.18.4; tantivy stays on the 0.16.4 that upstream 0.26 pins). +- **thiserror 1.0 → 2.0 (direct).** Drop-in for all error enums (`#[error]`, `#[from]` unchanged); tantivy's chain still carries thiserror 1.x transitively until upstream moves. + ## [1.3.19] ### Changed diff --git a/Cargo.lock b/Cargo.lock index 7adb3917..0d46dba8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -761,7 +761,7 @@ dependencies = [ "sysinfo", "tantivy", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.20", "tokio", "tokio-util", "tower", diff --git a/Cargo.toml b/Cargo.toml index b9087552..d520dafa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ tokio = { version = "1.40", features = ["full"] } tokio-util = { version = "0.7", features = ["rt"] } ctrlc = "3.4" anyhow = "1.0" -thiserror = "1.0" +thiserror = "2.0" # ML & Embeddings fastembed = "6.1"