tailwindcss/crates/oxide/src
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
..
extractor Add Maud templating support (#18988) 2025-09-24 11:33:01 +00:00
fixtures Improve Oxide candidate extractor [0] (#16306) 2025-03-05 11:55:24 +01:00
scanner Add Maud templating support (#18988) 2025-09-24 11:33:01 +00:00
cursor.rs A bit of cleanup (#17394) 2025-03-26 12:08:53 -04:00
fast_skip.rs Hoist oxide/crates to just crates (#13333) 2024-03-23 09:00:48 -04:00
glob.rs A bit of cleanup (#17394) 2025-03-26 12:08:53 -04:00
lib.rs Add @source not support (#17255) 2025-03-25 15:54:41 +01:00
main.rs Improve Oxide candidate extractor [0] (#16306) 2025-03-05 11:55:24 +01:00
paths.rs Fix integration tests on Windows (#14824) 2024-10-30 11:26:29 +00:00
throughput.rs Improve Oxide candidate extractor [0] (#16306) 2025-03-05 11:55:24 +01:00