diff --git a/Cargo.lock b/Cargo.lock index b376113..71ee2df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -251,25 +251,6 @@ dependencies = [ "gloo-worker 0.4.0", ] -[[package]] -name = "gloo" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d15282ece24eaf4bd338d73ef580c6714c8615155c4190c781290ee3fa0fd372" -dependencies = [ - "gloo-console 0.3.0", - "gloo-dialogs 0.2.0", - "gloo-events 0.2.0", - "gloo-file 0.3.0", - "gloo-history 0.2.2", - "gloo-net 0.5.0", - "gloo-render 0.2.0", - "gloo-storage 0.3.0", - "gloo-timers 0.3.0", - "gloo-utils 0.2.0", - "gloo-worker 0.5.0", -] - [[package]] name = "gloo-console" version = "0.2.3" @@ -435,27 +416,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "gloo-net" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43aaa242d1239a8822c15c645f02166398da4f8b5c4bae795c1f5b44e9eee173" -dependencies = [ - "futures-channel", - "futures-core", - "futures-sink", - "gloo-utils 0.2.0", - "http", - "js-sys", - "pin-project", - "serde", - "serde_json", - "thiserror", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - [[package]] name = "gloo-render" version = "0.1.1" @@ -588,25 +548,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "gloo-worker" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "085f262d7604911c8150162529cefab3782e91adb20202e8658f7275d2aefe5d" -dependencies = [ - "bincode", - "futures", - "gloo-utils 0.2.0", - "gloo-worker-macros", - "js-sys", - "pinned", - "serde", - "thiserror", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - [[package]] name = "gloo-worker-macros" version = "0.1.0" @@ -957,7 +898,6 @@ name = "site" version = "0.1.0" dependencies = [ "fastrand", - "gloo 0.11.0", "web-sys", "yew", ] diff --git a/Cargo.toml b/Cargo.toml index d1d6fa1..8dd406b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,5 @@ edition = "2021" [dependencies] fastrand = { version = "2.2.0", features = ["js"] } -gloo = { version = "0.11.0", features = ["timers"] } web-sys = { version = "0.3.74", features = ["Window"] } yew = { version = "0.21.0", features = ["csr"] } diff --git a/src/buttons.rs b/src/buttons.rs index 264ce49..699fa37 100644 --- a/src/buttons.rs +++ b/src/buttons.rs @@ -11,8 +11,8 @@ fn firtnite() -> Callback { pub fn buttons() -> Html { html! { -
-