Closed Dsantra92 closed 6 months ago
It looks to me that pdf_text
use the git version.
It could be changed, but pdf_text and pdf_render are fairly active and benefit from not being locked to a version on crates.io.
What is your suggestion for using pdf_render or pdf_text with pdf. I tried putting the correct rev to the Cargo.toml for pdf, but still sees it as a different library from the one install with pdf_render.
just use pdf = { git = "https://github.com/pdf-rs/pdf" }
Tried running the pdf_text example, the cargo build fails pointing out that we are indeed using two different versions of the pdf package. The cargo tree traceback is as follows:
results in
This can avoided by using mulitple locations feature for https://github.com/pdf-rs/pdf_render/blob/39a877d3dde5105ffff8f116a4dd5ae325c02867/Cargo.toml#L24
to
I am very new to rust 🦀, please let me know if I missed anything.