Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use libtidy in rust directly #3

Open
maxious opened this issue Jul 30, 2019 · 0 comments
Open

Use libtidy in rust directly #3

maxious opened this issue Jul 30, 2019 · 0 comments

Comments

@maxious
Copy link
Contributor

maxious commented Jul 30, 2019

We call out to tidy on the command line to tidy up HTML which seems inefficient. Can we link directly to libtidy C libraries?
http://www.html-tidy.org/developer/
https://github.com/rust-lang/rust-bindgen
https://medium.com/dwelo-r-d/using-c-libraries-in-rust-13961948c72a
https://medium.com/dwelo-r-d/wrapping-unsafe-c-libraries-in-rust-d75aeb283c65
Maybe via Python? https://github.com/PyO3/pyo3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant