From 061589cd88d0480dc7cb0b9eb19a3910293ceb56 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 18 Feb 2026 20:25:02 +0000 Subject: fix: improve mbox patch parser resilience for optional tag fallback - Use mailparse crate to handle RFC 2047 encoded-words (Q/B encoding) and RFC 2822 header folding in Subject and From headers - Fix email signature separator check: use exact match 'line == "-- "' instead of starts_with to avoid false positives on body lines - Remove dead/incorrect asctime parsing in committer date extraction; simplify to always return None (falls back to author_timestamp) --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 71de413..63786cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,7 @@ directories = "6.0.0" futures = "0.3.31" git2 = "0.20.2" indicatif = "0.18.0" +mailparse = "0.16.1" nostr = { version = "0.44.1", features = ["nip49"] } nostr-connect = "0.44.0" nostr-database = "0.44.0" -- cgit v1.2.3