Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions atomic_hooks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
typemap = "0.3.3"
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" }
12 changes: 6 additions & 6 deletions seed_hooks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "^0.8.0"
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"
lazy_static = "^1.4.0"
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",
Expand Down
22 changes: 11 additions & 11 deletions seed_styles/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
anymap = "0.12.1"
derive_more = "0.99.5"
seed = { git = "https://github.com/seed-rs/seed", branch = "master" }
wasm-bindgen = "^0.2.76"
ordered-float = "^2.8.0"
anymap = "^0.12.1"
derive_more = "^0.99.16"
seed = "^0.8.0"
seed_hooks = { path = "../seed_hooks" }
objekt-clonable = "0.2.2"
eager = "0.1.0"
rust-hsluv = "0.1.4"
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",
Expand Down
6 changes: 3 additions & 3 deletions seed_styles/src/style.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use derive_more::Display;
use harsh::{Harsh, HarshBuilder};
use harsh::{Harsh};
use seed::{prelude::*, *};
use seed_hooks::*;

Expand Down Expand Up @@ -44,11 +44,11 @@ thread_local! {
pub static GLOBAL_STYLES_COUNT: Cell<u32> = Cell::new(0);

pub static STYLES_USED : RefCell<HashSet<u64>> = RefCell::new(HashSet::<u64>::new());
pub static HASH_IDS_GENERATOR: RefCell<Harsh> = RefCell::new(HarshBuilder::new().init().unwrap());
pub static HASH_IDS_GENERATOR: RefCell<Harsh> = 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::*;
Expand Down