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
2,859 downloads per month
Used in 4 crates
(3 directly)
240KB
5.5K
SLoC
dioxus-autofmt
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