pdf icon indicating copy to clipboard operation
pdf copied to clipboard

Only outputs "Hello, world!" on all PDFs

Open boredsquirrel opened this issue 1 year ago • 2 comments

Is that an error message? Using 0.1.0 from crates.io

I created a PDF with Libreoffice, same thing. Every PDF I open.

There is no help, nothing.

Uhm... is this a placeholder?

boredsquirrel avatar Apr 21 '24 13:04 boredsquirrel

Hello, thank you for your interest in this project.

Yes, the code on crates.io should be quite outdated, though I didn't realize it was just placeholder code. I would suggest either vendoring this library or using a git dependency.

connorskees avatar Apr 21 '24 13:04 connorskees

There's example usage in src/main.rs. Using this dependency will require modifying the code, likely nontrivially. Unless there is a feature this library implements that https://github.com/pdf-rs/pdf doesn't, it's probably better to prefer that library. If there is something that only this library implements, I'd be curious to hear more about your use-case.

connorskees avatar Apr 21 '24 14:04 connorskees