14 unstable releases (3 breaking)

new 0.6.0-alpha.5 Nov 16, 2024
0.6.0-alpha.3 Oct 14, 2024
0.5.6 Jul 18, 2024
0.5.0 Mar 28, 2024
0.3.0 Mar 24, 2023

#105 in Value formatting

Download history 678/week @ 2024-07-28 620/week @ 2024-08-04 584/week @ 2024-08-11 605/week @ 2024-08-18 741/week @ 2024-08-25 724/week @ 2024-09-01 804/week @ 2024-09-08 767/week @ 2024-09-15 841/week @ 2024-09-22 726/week @ 2024-09-29 829/week @ 2024-10-06 995/week @ 2024-10-13 858/week @ 2024-10-20 787/week @ 2024-10-27 641/week @ 2024-11-03 464/week @ 2024-11-10

2,859 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

240KB
5.5K 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

~0.6–1.2MB
~28K SLoC