diff --git a/.gitignore b/.gitignore index 5b4c876..45d35c8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,9 @@ Cargo.lock # VSCode *.code-workspace +# CLion +.idea + # MacOS ## General .DS_Store diff --git a/Cargo.toml b/Cargo.toml index 7511910..3e6e099 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "css-in-rust" -version = "0.5.0" +name = "css-in-rust-next" +version = "0.8.0" license = "MIT" repository = "https://github.com/lukidoescode/css-in-rust" authors = [ @@ -17,16 +17,16 @@ keywords = [ categories = ["wasm", "web-programming"] readme = "README.md" homepage = "https://crates.io/crates/css-in-rust" - +resolver = "2" [lib] crate-type = ["cdylib", "rlib"] [dependencies] -nom = "^5.1.1" +nom = "5.1.1" lazy_static = "^1.4.0" -yew = {version = "^0.17.2", features=["web_sys"], optional = true} -seed = {version = "^0.6.0", optional = true} +yew = {version = "0.21.0", optional = true} +seed = {version = "0.9.0", optional = true} [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "^0.3" @@ -40,7 +40,7 @@ features = [ ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -rand = { version = "^0.7.0", features = ["small_rng"]} +rand = { version = "^0.8.0", features = ["small_rng"]} # Changes here must be reflected in `build.rs` [target.'cfg(all(target_arch = "wasm32", not(target_os="wasi"), not(cargo_web)))'.dependencies] diff --git a/src/bindings/yew.rs b/src/bindings/yew.rs index a289f89..72adc32 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