* Avoid the accidental removal of comments inside expressions by dx fmt * Rewrite the logic to pass failed tests * Removed unnecessary call to write_inline_comments * add failing test case * alter parsing a bit to handle more test cases * almost there... * fix * use threadlocal --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
31 lines
839 B
TOML
31 lines
839 B
TOML
[package]
|
|
name = "dioxus-autofmt"
|
|
version = { workspace = true }
|
|
edition = "2021"
|
|
authors = ["Jonathan Kelley"]
|
|
description = "Autofomatter for Dioxus RSX"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
homepage = "https://dioxuslabs.com"
|
|
keywords = ["web", "desktop", "mobile", "gui", "wasm"]
|
|
|
|
[dependencies]
|
|
dioxus-rsx = { workspace = true }
|
|
proc-macro2 = { workspace = true, features = ["span-locations"] }
|
|
quote = { workspace = true }
|
|
syn = { workspace = true, features = [
|
|
"full",
|
|
"extra-traits",
|
|
"visit",
|
|
"visit-mut",
|
|
] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
prettyplease = { workspace = true }
|
|
regex = "1.11.1"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|