Print Page | Close Window

Rust bindings?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3537
Printed Date: 22 Nov 24 at 6:24PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Rust bindings?
Posted By: quickpdfdeveloper
Subject: Rust bindings?
Date Posted: 10 Jan 18 at 2:55PM
Are there any (official or third-party liberally licensed) Rust bindings for the QuickPDF library?

I have code in Python that I want to port to Rust (to see if I can get significantly better performance). I only need a subset of the QuickPDF API, but even that would be a lot of work, so if someone's already done it and would share it, I'd be happy to try it!

Thanks.



Replies:
Posted By: fschutt
Date Posted: 24 May 18 at 7:00AM
Hi quickpdfdeveloper,

I don't think Rust bindings for QuickPDF are available, but I've created a free (MIT) PDF library for writing PDF (not reading it, though):  https://crates.io/crates/printpdf" rel="nofollow - https://crates.io/crates/printpdf

It doesn't support all features of QuickPDF, though, I mostly made it for creating graphics-heavy PDF files. But it is very fast, so there's that.

Cheers


Posted By: quickpdfdeveloper
Date Posted: 27 May 18 at 11:17AM
Yes, I've seen various PDF libraries on crates.io but of course none of them has anywhere near the functionality of QuickPDF, nor the subset I need.

However, I found that it was quite straightforward to write my own Rust bindings for QuickPDF.

So my only problem now is that I can never upgrade QuickPDF because (1) it is now a lot more expensive and (2) the upgrade doesn't appear to be royalty free anymore.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk