Skip to content

A fast, helpful, and open-source document parser

chore(deps): bump lopdf from 0.38.0 to 0.42.0

dependabot[bot]5003406a8fde
diff --git a/Cargo.lock b/Cargo.lock
index 280e26e..f15d5c0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -389,12 +389,6 @@ version = "3.20.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
-[[package]]
-name = "bytecount"
-version = "0.6.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e"
-
[[package]]
name = "bytemuck"
version = "1.25.2"
@@ -2159,9 +2153,9 @@ dependencies = [
[[package]]
name = "lopdf"
-version = "0.38.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7184fdea2bc3cd272a1acec4030c321a8f9875e877b3f92a53f2f6033fdc289"
+checksum = "25aab26d99567469098e64a02f42679f8965c6401263eefa31d8f2dcc37a221c"
dependencies = [
"aes",
"bitflags 2.13.1",
@@ -2169,14 +2163,13 @@ dependencies = [
"ecb",
"encoding_rs",
"flate2",
- "getrandom 0.3.4",
+ "getrandom 0.4.3",
"indexmap",
"itoa",
"log",
"md-5",
"nom 8.0.0",
- "nom_locate",
- "rand 0.9.5",
+ "rand 0.10.2",
"rangemap",
"sha2 0.10.9",
"stringprep",
@@ -2552,17 +2545,6 @@ dependencies = [
"memchr",
]
-[[package]]
-name = "nom_locate"
-version = "5.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b577e2d69827c4740cba2b52efaad1c4cc7c73042860b199710b3575c68438d"
-dependencies = [
- "bytecount",
- "memchr",
- "nom 8.0.0",
-]
-
[[package]]
name = "noop_proc_macro"
version = "0.3.0"
diff --git a/crates/liteparse/Cargo.toml b/crates/liteparse/Cargo.toml
index 72edb6c..94edeed 100644
--- a/crates/liteparse/Cargo.toml
+++ b/crates/liteparse/Cargo.toml
@@ -50,7 +50,7 @@ resvg = "0.44"
usvg = "0.44"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-lopdf = { version = "0.38", default-features = false }
+lopdf = { version = "0.42", default-features = false }
oar-ocr = { version = "0.8", optional = true }
rmp = "0.8"
tokio = { version = "1.52.3", features = ["rt-multi-thread", "fs", "process"] }