From 7e17e524bc68206d92847af3c5011a7c29238944 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Arnaud Date: Mon, 5 Jul 2021 11:02:26 +0200 Subject: [PATCH 1/9] use yew with version 0.18.0 --- Cargo.toml | 2 +- src/bindings/yew.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7511910..412fb86 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] nom = "^5.1.1" lazy_static = "^1.4.0" -yew = {version = "^0.17.2", features=["web_sys"], optional = true} +yew = {version = "^0.18.0", features=["web_sys"], optional = true} seed = {version = "^0.6.0", optional = true} [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] diff --git a/src/bindings/yew.rs b/src/bindings/yew.rs index a289f89..30bd5ba 100644 --- a/src/bindings/yew.rs +++ b/src/bindings/yew.rs @@ -7,12 +7,12 @@ extern crate yew; use super::super::style::Style; -use yew::virtual_dom::Classes; +use yew::prelude::Classes; impl From