Login
You're viewing the discuss.systems public feed.
  • Aug 2, 2025, 5:50 PM

    So I'm looking at options for doing some basic HTML parsing in #rust

    I found html5ever made by the Servo project, but can't figure out how to use it. I check their docs. Aha, you need an implementation of TreeSink which is not provided by the crate. Their example docs use markup5ever_rcdom.

    I go to read that crate's docs, and it's a stern warning not to use it – it's only designed for testing.

    I settle on some other library for parsing.

    … later, I learn that under the hood, it's rcdom. 🤦‍♂️

    💬 0🔄 0⭐ 0