ajrcarey / pdfium-render

A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project.
https://crates.io/crates/pdfium-render
Other
364 stars 59 forks source link

Add new crate feature flags to allow consumers to pin their image version. #167

Closed ajrcarey closed 1 week ago

ajrcarey commented 2 weeks ago

Follow-on from https://github.com/ajrcarey/pdfium-render/pull/163. Introduce new crate features for pinning the image crate version the consumer wishes to use. The image feature will default to the latest version, but a consumer can deliberately pin to an older version if they wish. This will see the default image dependency of this crate switch from version = "0.24" to version = "0.25".

ajrcarey commented 2 weeks ago

This would also potentially allow for backward compatibility with image 0.23.x. New crate features could include:

The current image feature then effectively becomes a synonym for image_latest.

ajrcarey commented 1 week ago

Released as part of crate version 0.8.26.