[repo] Format, clippy clean, FORMATS.md, the full crate table in DEPENDENCIES.md

This commit is contained in:
2026-11-16 13:58:06 +01:00
parent 196802863a
commit a06e3f9b73
17 changed files with 2708 additions and 2125 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ impl Engine {
}
pub(crate) fn open<'a>(&'a self, bytes: &'a [u8], password: Option<&str>) -> Result<PdfDocument<'a>, PdfError> {
self.pdfium.load_pdf_from_byte_slice(bytes, password).map_err(|e| PdfError::from_pdfium_open(e, password.is_some()))
self.pdfium
.load_pdf_from_byte_slice(bytes, password)
.map_err(|e| PdfError::from_pdfium_open(e, password.is_some()))
}
pub(crate) fn new_document(&self) -> Result<PdfDocument<'_>, PdfError> {