diff --git a/Cargo.lock b/Cargo.lock index e51d380..4fbb60a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -388,6 +388,12 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64fa3c856b712db6612c019f14756e64e4bcea13337a6b33b696333a9eaa2d06" +[[package]] +name = "bytecount" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" + [[package]] name = "bytemuck" version = "1.16.3" @@ -1753,19 +1759,19 @@ checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lopdf" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5c14afa083a906d49e1bda105ddbf8175016e2658954e6d0c3e612f886df3db" +version = "0.34.0" +source = "git+https://github.com/J-F-Liu/lopdf.git?rev=7f24a1c3ebc42470a37b4315b843331e4f81cdcd#7f24a1c3ebc42470a37b4315b843331e4f81cdcd" dependencies = [ "chrono", "encoding_rs", "flate2", "indexmap", "itoa", - "linked-hash-map", "log", "md-5", "nom", + "nom_locate", + "rangemap", "rayon", "time", "weezl", @@ -1903,6 +1909,17 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nom_locate" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e3c83c053b0713da60c5b8de47fe8e494fe3ece5267b2f23090a07a053ba8f3" +dependencies = [ + "bytecount", + "memchr", + "nom", +] + [[package]] name = "nonempty" version = "0.7.0" @@ -2399,6 +2416,12 @@ dependencies = [ "getrandom", ] +[[package]] +name = "rangemap" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f60fcc7d6849342eff22c4350c8b9a989ee8ceabc4b481253e8946b9fe83d684" + [[package]] name = "raw-cpuid" version = "11.1.0" diff --git a/Cargo.toml b/Cargo.toml index b18667f..9a4691f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ fontdb = { version = "0.17.0", optional = true } futures = "0.3.30" garde = "0.17.0" iban_validate = "4.0.1" -lopdf = "0.33.0" +lopdf = { git = "https://github.com/J-F-Liu/lopdf.git", rev = "7f24a1c3ebc42470a37b4315b843331e4f81cdcd" } regex = "1.10.6" reqwest = { version = "0.12.5", default-features = false, features = ["multipart", "rustls-tls"] } serde = "1.0.195"