Searching for yaml ast crate

Hi, I’m looking for a crate that supports parsing a string of yaml to ast that would allow for preserved comments and exactly knowing whether a string is a multiline string, a double quote string or a single quote string.

I can’t seem to find a single one, so happy to hear out any crate that supports those two things :slight_smile:

bump?

I did a search and found nothing too. serde_yaml doesn't expose any AST, just value variants. There is a fork of js-yaml that is written in TypeScript. With these types it might be easy to rewrite it in Rust?