diff options
| author | Teddy Wing | 2022-05-27 22:05:27 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2022-05-28 13:58:48 +0200 | 
| commit | 0e87acd67a2819ae2150328e2c61917b7a9443f1 (patch) | |
| tree | cf7b8b68688daecd5bf90cc7ade8d4d35dc64b1d | |
| parent | f3ba74748fa189179609f43949506455bcc06f75 (diff) | |
| download | pdf_form-update-lopdf-dependency-to-0.27.tar.bz2 | |
Cargo.toml: Update 'lopdf' to v0.27update-lopdf-dependency-to-0.27
I was getting this error when attempting to load a PDF with
`Form::load("form.pdf")`:
    panicked at 'attempted to leave type
    `linked_hash_map::Node<alloc::vec::Vec<u8>, object::Object>`
    uninitialized, which is invalid',
    $HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/linked-hash-map-0.4.2/src/lib.rs:174:52
Updating 'lopdf' fixes the problem.
| -rw-r--r-- | Cargo.toml | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -11,4 +11,4 @@ edition = "2018"  [dependencies]  bitflags = "^1.2"  derive-error = "^0.0.4" -lopdf = "^0.25" +lopdf = "^0.27" | 
