diff --git a/Cargo.toml b/Cargo.toml index 9e0135d..0f6fc88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,3 @@ [workspace] -members = [ - "crates/*", - "examples/*", -] - +resolver = "2" +members = ["crates/*", "examples/*"] diff --git a/crates/yewdux-macros/Cargo.toml b/crates/yewdux-macros/Cargo.toml index 4b7ee74..de16b8d 100644 --- a/crates/yewdux-macros/Cargo.toml +++ b/crates/yewdux-macros/Cargo.toml @@ -14,9 +14,8 @@ categories = ["wasm", "web-programming", "rust-patterns"] proc-macro = true [dependencies] -darling = "0.13.3" +darling = "0.20" proc-macro-error = "1.0.4" proc-macro2 = "1.0.36" quote = "1.0.14" -syn = "1.0.84" - +syn = "2" diff --git a/examples/async_reducer/Cargo.toml b/examples/async_reducer/Cargo.toml index feacba9..b393b3a 100644 --- a/examples/async_reducer/Cargo.toml +++ b/examples/async_reducer/Cargo.toml @@ -9,5 +9,5 @@ edition = "2018" yew = { git = "https://github.com/yewstack/yew.git", features = ["csr"] } yewdux = { path = "../../crates/yewdux" } serde = "1.0" -gloo-net = "0.2.4" +gloo-net = "0.4" web-sys = "0.3" diff --git a/examples/input/src/main.rs b/examples/input/src/main.rs index 5073e87..34aa5ef 100644 --- a/examples/input/src/main.rs +++ b/examples/input/src/main.rs @@ -74,7 +74,7 @@ fn InputDatetime() -> Html { html! { <> -

{store.datetime.unwrap_or_default()}

+

{store.datetime.unwrap_or_default().to_rfc2822()}

} diff --git a/examples/selector/src/main.rs b/examples/selector/src/main.rs index 5dba7d7..d3cf888 100644 --- a/examples/selector/src/main.rs +++ b/examples/selector/src/main.rs @@ -14,7 +14,7 @@ fn App() -> Html { html! { <> -

{ count }

+

{ *count }

} diff --git a/examples/todomvc/Cargo.toml b/examples/todomvc/Cargo.toml index ea6cbb1..f3d7465 100644 --- a/examples/todomvc/Cargo.toml +++ b/examples/todomvc/Cargo.toml @@ -7,13 +7,11 @@ edition = "2018" [dependencies] serde = "1" -strum = "0.24" -strum_macros = "0.24" +strum = "0.25" +strum_macros = "0.25" yew = { git = "https://github.com/yewstack/yew.git", features = ["csr"] } yewdux = { path = "../../crates/yewdux" } [dependencies.web-sys] version = "0.3" -features = [ - "HtmlInputElement", -] +features = ["HtmlInputElement"] diff --git a/examples/todomvc/src/main.rs b/examples/todomvc/src/main.rs index 9530956..8ec0f8e 100644 --- a/examples/todomvc/src/main.rs +++ b/examples/todomvc/src/main.rs @@ -81,7 +81,7 @@ fn SelectFilter(&SelectFilterProps { active, target }: &SelectFilterProps) -> Ht html! {
  • - { target } + { target.to_string() }
  • }