feat: Deduplicate fb2 authors

This commit is contained in:
2025-09-09 22:50:31 +03:00
parent 5dc2cb112d
commit 4a7ed0974c

View File

@@ -255,5 +255,7 @@ pub fn parse_with_reader<R: BufRead>(reader: R, path: &Path) -> Result<Vec<Book>
buf.clear();
}
book.author.dedup_by(|a, b| a.uniq_id() == b.uniq_id());
Ok(vec![book])
}