Merge branch 'master' of https://github.com/DioxusLabs/dioxus into query-system
This commit is contained in:
commit
84d0b8e9e0
4 files changed
+23
-7
No files matched your search
@@ -2,7 +2,13 @@
|
|||||||
name = "dioxus-autofmt"
|
name = "dioxus-autofmt"
|
||||||
version = "0.3.0"
|
version = "0.3.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
authors = ["Jonathan Kelley"]
|
||||||
|
description = "Autofomatter for Dioxus RSX"
|
||||||
|
license = "MIT/Apache-2.0"
|
||||||
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
||||||
|
homepage = "https://dioxuslabs.com"
|
||||||
|
documentation = "https://dioxuslabs.com"
|
||||||
|
keywords = ["dom", "ui", "gui", "react"]
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
@@ -11,7 +17,7 @@ proc-macro2 = { version = "1.0.6", features = ["span-locations"] }
|
|||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
syn = { version = "1.0.11", features = ["full", "extra-traits"] }
|
syn = { version = "1.0.11", features = ["full", "extra-traits"] }
|
||||||
serde = { version = "1.0.136", features = ["derive"] }
|
serde = { version = "1.0.136", features = ["derive"] }
|
||||||
prettyplease = { git = "https://github.com/DioxusLabs/prettyplease-macro-fmt.git", features = [
|
prettyplease = { package = "prettier-please", version = "0.1.16", features = [
|
||||||
"verbatim",
|
"verbatim",
|
||||||
] }
|
] }
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ thiserror = "1.0.30"
|
|||||||
futures-util = "0.3.21"
|
futures-util = "0.3.21"
|
||||||
serde = { version = "1", optional = true }
|
serde = { version = "1", optional = true }
|
||||||
serde_urlencoded = { version = "0.7.1", optional = true }
|
serde_urlencoded = { version = "0.7.1", optional = true }
|
||||||
simple_logger = "4.0.0"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["query"]
|
default = ["query"]
|
||||||
@@ -46,7 +45,6 @@ wasm_test = []
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
console_error_panic_hook = "0.1.7"
|
console_error_panic_hook = "0.1.7"
|
||||||
log = "0.4.14"
|
|
||||||
wasm-logger = "0.2.0"
|
wasm-logger = "0.2.0"
|
||||||
wasm-bindgen-test = "0.3"
|
wasm-bindgen-test = "0.3"
|
||||||
gloo-utils = "0.1.2"
|
gloo-utils = "0.1.2"
|
||||||
|
|||||||
@@ -1,12 +1,19 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rsx-rosetta"
|
name = "rsx-rosetta"
|
||||||
version = "0.0.0"
|
version = "0.3.0"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
authors = ["Jonathan Kelley"]
|
||||||
|
description = "Autofomatter for Dioxus RSX"
|
||||||
|
license = "MIT/Apache-2.0"
|
||||||
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
||||||
|
homepage = "https://dioxuslabs.com"
|
||||||
|
documentation = "https://dioxuslabs.com"
|
||||||
|
keywords = ["dom", "ui", "gui", "react"]
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
dioxus-autofmt = { path = "../autofmt" }
|
dioxus-autofmt = { path = "../autofmt", version = "0.3.0" }
|
||||||
dioxus-rsx = { path = "../rsx" , version = "^0.0.3" }
|
dioxus-rsx = { path = "../rsx" , version = "^0.0.3" }
|
||||||
html_parser = "0.6.3"
|
html_parser = "0.6.3"
|
||||||
proc-macro2 = "1.0.49"
|
proc-macro2 = "1.0.49"
|
||||||
|
|||||||
@@ -59,6 +59,11 @@ impl FromStr for IfmtInput {
|
|||||||
let mut current_captured = String::new();
|
let mut current_captured = String::new();
|
||||||
while let Some(c) = chars.next() {
|
while let Some(c) = chars.next() {
|
||||||
if c == ':' {
|
if c == ':' {
|
||||||
|
// two :s in a row is a path, not a format arg
|
||||||
|
if chars.next_if(|c| *c == ':').is_some() {
|
||||||
|
current_captured.push_str("::");
|
||||||
|
continue;
|
||||||
|
}
|
||||||
let mut current_format_args = String::new();
|
let mut current_format_args = String::new();
|
||||||
for c in chars.by_ref() {
|
for c in chars.by_ref() {
|
||||||
if c == '}' {
|
if c == '}' {
|
||||||
|
|||||||
Reference in new issue
Block a user