Looking for a Rust Library to Work with CSS (Preserving Comments & Codegen)

Hello everyone,

I've been searching for a Rust library to work with CSS. For example, I've used SWC and made modifications to it, but I struggle to properly preserve comments in a CSS file. If I try to manually retain them, it introduces a lot of bugs.

I also experimented with Biome, but it seems to be read-only for CSS. It provides an AST, but there's no built-in Codegen feature to generate the final CSS output.

I was hoping some of you might have experience in this area and could help me find a good library. I also tried procss, but it requires using the nightly version of Rust, which unfortunately isn't an option for me.

Any suggestions or recommendations would be greatly appreciated. Thanks in advance!