8 releases

0.5.1 Apr 5, 2024
0.5.0 Mar 28, 2024
0.5.0-alpha.0 Feb 23, 2024
0.4.3 Dec 7, 2023
0.3.0 Mar 24, 2023

#460 in Procedural macros

Download history 267/week @ 2024-02-05 343/week @ 2024-02-12 732/week @ 2024-02-19 1049/week @ 2024-02-26 828/week @ 2024-03-04 406/week @ 2024-03-11 673/week @ 2024-03-18 1132/week @ 2024-03-25 1038/week @ 2024-04-01 768/week @ 2024-04-08 713/week @ 2024-04-15 634/week @ 2024-04-22 617/week @ 2024-04-29 501/week @ 2024-05-06 576/week @ 2024-05-13 543/week @ 2024-05-20

2,362 downloads per month
Used in 2 crates

MIT/Apache

190KB
4K SLoC

dioxus-autofmt

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

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.

Contributing

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

License

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.

Dependencies

~1–1.6MB
~34K SLoC