1 unstable release

0.3.0 Mar 24, 2023

#528 in Procedural macros

Download history 30/week @ 2023-03-18 290/week @ 2023-03-25 289/week @ 2023-04-01 384/week @ 2023-04-08 258/week @ 2023-04-15 363/week @ 2023-04-22 296/week @ 2023-04-29 398/week @ 2023-05-06 375/week @ 2023-05-13 248/week @ 2023-05-20

1,358 downloads per month
Used in 2 crates


3.5K SLoC


Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat


dioxus-autofmt provides a pretty printer for the rsx syntax tree.

This is done manually with a via set of formatting rules. The output is not guaranteed to be stable between minor versions of the crate as we might tweak the output.

dioxus-autofmt provides an API to perform precision edits as well as just spit out a block of formatted RSX from any RSX syntax tree. This is used by the rsx-rosetta crate which can accept various input languages and output valid RSX.


  • Report issues on our issue tracker.
  • Join the discord and ask questions!


This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you shall be licensed as MIT without any additional terms or conditions.


~155K SLoC