diff --git a/atomic_hooks/Cargo.toml b/atomic_hooks/Cargo.toml index 505634f..78efd00 100644 --- a/atomic_hooks/Cargo.toml +++ b/atomic_hooks/Cargo.toml @@ -7,11 +7,11 @@ description = "Atomic Reative State and Local State Hooks" license = "Apache-2.0 OR MIT" [dependencies] -slotmap = "0.4.0" -anymap = "0.12.1" -illicit = "1.1.0" +slotmap = "1.0.6" +anymap = "0.12.1" +illicit = "1.1.2" typemap = "0.3.3" atomic_hooks_macros = { path = "./macro" } -topo = { version = "0.13.1", features = ["wasm-bindgen"] } +topo = { version = "0.13.2", features = ["wasm-bindgen"] } # topo = { path = "../../moxie/topo" } diff --git a/seed_hooks/Cargo.toml b/seed_hooks/Cargo.toml index fe7cf5c..1bbebe7 100644 --- a/seed_hooks/Cargo.toml +++ b/seed_hooks/Cargo.toml @@ -8,18 +8,18 @@ description = "Local state for Seed web apps" license = "Apache-2.0 OR MIT" [dependencies] -seed = { git = "https://github.com/seed-rs/seed", branch = "master" } +seed = { git = "https://github.com/seed-rs/seed.git", branch = "master"} atomic_hooks = { path = "../atomic_hooks" } gloo-timers = { version = "0.2.1", features = ["futures"] } lazy_static = "1.4.0" -wasm-bindgen = "^0.2.62" -derive_more = "0.99.5" +wasm-bindgen = "0.2.76" +derive_more = "0.99.16" [dev-dependencies] -wasm-bindgen-test = "0.3.12" +wasm-bindgen-test = "0.3.26" [dependencies.web-sys] -version = "^0.3.39" +version = "0.3.53" features = [ 'HtmlElement', "HtmlDocument", diff --git a/seed_styles/Cargo.toml b/seed_styles/Cargo.toml index d51d05f..6a5277d 100644 --- a/seed_styles/Cargo.toml +++ b/seed_styles/Cargo.toml @@ -7,23 +7,23 @@ description = "CSS Styling for Seed web apps" license = "Apache-2.0 OR MIT" [dependencies] -harsh = "0.1.6" +harsh = "0.2.1" seed_style_macros = { path = "./seed_style_macros" } -wasm-bindgen = "^0.2.62" -ordered-float = "1.0.2" +wasm-bindgen = "0.2.76" +ordered-float = "2.8.0" anymap = "0.12.1" -derive_more = "0.99.5" -seed = { git = "https://github.com/seed-rs/seed", branch = "master" } +derive_more = "0.99.16" +seed = { git = "https://github.com/seed-rs/seed.git", branch = "master"} seed_hooks = { path = "../seed_hooks" } objekt-clonable = "0.2.2" eager = "0.1.0" rust-hsluv = "0.1.4" [dev-dependencies] -wasm-bindgen-test = "0.3.12" +wasm-bindgen-test = "0.3.26" [dependencies.web-sys] -version = "^0.3.40" +version = "0.3.53" features = [ 'HtmlElement', "HtmlDocument", diff --git a/seed_styles/src/style.rs b/seed_styles/src/style.rs index ab83a73..4a2c2d5 100644 --- a/seed_styles/src/style.rs +++ b/seed_styles/src/style.rs @@ -1,5 +1,5 @@ use derive_more::Display; -use harsh::{Harsh, HarshBuilder}; +use harsh::{Harsh}; use seed::{prelude::*, *}; use seed_hooks::*; @@ -44,11 +44,11 @@ thread_local! { pub static GLOBAL_STYLES_COUNT: Cell = Cell::new(0); pub static STYLES_USED : RefCell> = RefCell::new(HashSet::::new()); - pub static HASH_IDS_GENERATOR: RefCell = RefCell::new(HarshBuilder::new().init().unwrap()); + pub static HASH_IDS_GENERATOR: RefCell = RefCell::new(Harsh::default()); } fn short_uniq_id(id: u64) -> String { - HASH_IDS_GENERATOR.with(|h| h.borrow().encode(&[id]).unwrap()) + HASH_IDS_GENERATOR.with(|h| h.borrow().encode(&[id])) } use objekt_clonable::*;