Browse Source

Chore: format some cargo tomls (#2970)

Jonathan Kelley 9 months ago
parent
commit
b67122dd2a

+ 1 - 1
packages/extension/Cargo.toml

@@ -11,7 +11,7 @@ wasm-bindgen = { workspace = true }
 dioxus-autofmt = { workspace = true }
 dioxus-rsx-rosetta = { workspace = true }
 html_parser = { workspace = true }
-syn ={ workspace = true }
+syn = { workspace = true }
 
 [lib]
 crate-type = ["cdylib", "rlib"]

+ 1 - 1
packages/generational-box/Cargo.toml

@@ -13,7 +13,7 @@ keywords = ["generational", "box", "memory", "allocator"]
 parking_lot = "0.12.1"
 
 [dev-dependencies]
-rand = "0.8.5"
+rand = { workspace = true }
 criterion = { workspace = true }
 
 [features]

+ 3 - 3
packages/html-internal-macro/Cargo.toml

@@ -12,9 +12,9 @@ description = "HTML function macros for Dioxus"
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-proc-macro2 = "1.0.66"
+proc-macro2 = { workspace = true }
 syn = { workspace = true, features = ["full"] }
-quote = "^1.0.26"
+quote = { workspace = true }
 convert_case = { workspace = true }
 
 [lib]
@@ -25,4 +25,4 @@ name = "tests"
 path = "tests/progress.rs"
 
 [dev-dependencies]
-trybuild = { version = "1.0.82", features = ["diff"] }
+trybuild = { workspace = true, features = ["diff"] }