tailwindcss/crates/oxide
Robin Malfait 85575a41f4
Add Maud templating support (#18988)
This PR adds support for Maud templates in Rust.

We already had some pre-processing for Rust but for Leptos `class:`
syntax. This PR now added a dedicated Rust pre-processor that handles
Leptos and Maud syntax.

We only start pre-processing Maud templates if the Rust file includes
the `html!` macro.

## Test plan

Looking at the extractor, you can see that we now do extract the proper
classes in Maud templates:

<img width="1076" height="1856" alt="image"
src="https://github.com/user-attachments/assets/e649e1de-289e-466f-8fab-44a938a47dd5"
/>


Fixes: #18984
2025-09-24 11:33:01 +00:00
..
fuzz Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
src Add Maud templating support (#18988) 2025-09-24 11:33:01 +00:00
tests Ignore binary extensions, except in folder names (#17595) 2025-04-12 13:30:17 +02:00
Cargo.toml Fix HAML extraction with embedded Ruby (#17846) 2025-05-05 10:26:17 -04:00