jrmuizel / pdf-extract

A rust library for extracting content from pdfs
396 stars 78 forks source link

Literal out of range errors from overflowing_literals lint #10

Closed ollie27 closed 5 years ago

ollie27 commented 5 years ago

In a future version of Rust the overflowing_literals lint will become deny by default. See rust-lang/rust#55632. When checking for breakage in crates uploaded to crates.io it was discovered that this crate will no longer compile thanks to this lint. The error produced is here.

anfractuosity commented 5 years ago

I commented out '//("Digamma", 0x1d7cb)' which fixed the compilation issue for me on the latest rust stable. I'm sure there's a better way to fix this, but I'm not familiar with pdf too much.

jrmuizel commented 5 years ago

I pushed a fix