html5ever is on crates.io!


#1

Live long and parse your HTMLs spec-conformingly, all in Rust.

Crate: https://crates.io/crates/html5ever
Source & issues: https://github.com/servo/html5ever
Doc: https://kmcallister.github.io/docs/html5ever/html5ever/index.html


#2

Woot! Very, nice.

When does Tendril land? I ask, because I have a PR there that will need a rebase, once Tendril fully lands.


#3

There is a PR for Tendril that needs to be finished and rebased, but I don’t know when that’s gonna happen: https://github.com/servo/html5ever/pull/142

Feel free to submit your PR without waiting, if it goes in first we’ll deal it when rebasing Tendril.


#4

Well, the PR was already submitted https://github.com/servo/html5ever/pull/125 but, it’s best Tendril lands first, because:

  • Tendril has IMO higher value and priority
  • If Tendril lands first, there is less work, on merge conflicts than vice versa
  • It could use some tweaking, and I was waiting for Tendril to land to complete all the tweaks in one commit

#5

Why only now?


#6

Servo switched to Cargo (with git dependencies) and then to html5ever before crates.io was a thing, and nobody (that I know of) had asked so far.

As I’ve mentioned before: if there’s a crate under github.com/servo that is not on crates.io, there is no particular reason. If you’d like it there, just file an issue and we’ll do it.


#7

Correction: someone had asked a month ago, we just took a while to actually do it.


#8

Thanks! I have been waiting for this for a while. Can’t wait to play with html5ever