Crates.io | dioxus-autofmt |
lib.rs | dioxus-autofmt |
version | 0.6.0-alpha.5 |
source | src |
created_at | 2023-03-24 16:34:25.447701 |
updated_at | 2024-11-16 04:33:20.568249 |
description | Autofomatter for Dioxus RSX |
homepage | https://dioxuslabs.com |
repository | https://github.com/DioxusLabs/dioxus/ |
max_upload_size | |
id | 819487 |
size | 129,477 |
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.
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.