Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
flosse committed Sep 3, 2023
1 parent f0fdb70 commit e9a9d73
Show file tree
Hide file tree
Showing 40 changed files with 1,092 additions and 1,081 deletions.
1,525 changes: 731 additions & 794 deletions Cargo.lock

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ readme = "README.md"
keywords = ["wasm", "webassembly", "frontend", "framework", "web"]
categories = ["wasm", "web-programming"]
edition = "2021"
rust-version = "1.67.1"
rust-version = "1.72.0"

[workspace]
members = [
Expand Down Expand Up @@ -62,25 +62,25 @@ exclude = [

[dependencies]
enclose = "1.1.8"
futures = "0.3.26"
futures = "0.3.28"
# https://docs.rs/getrandom/0.2.0/getrandom/#webassembly-support
getrandom = { version = "0.2.8", features = ["js"] }
gloo-timers = { version = "0.2.6", features = ["futures"] }
gloo-file = { version = "0.2.3", features = ["futures"] }
gloo-utils = "0.1.6"
indexmap = "1.9.2"
js-sys = "0.3.61"
getrandom = { version = "0.2.10", features = ["js"] }
gloo-timers = { version = "0.3.0", features = ["futures"] }
gloo-file = { version = "0.3.0", features = ["futures"] }
gloo-utils = "0.2.0"
indexmap = "2.0.0"
js-sys = "0.3.64"
rand = { version = "0.8.5", features = ["small_rng"] }
uuid = { version = "1.3.0", features = ["v4"] }
wasm-bindgen = "0.2.84"
wasm-bindgen-futures = "0.4.34"
uuid = { version = "1.4.1", features = ["v4"] }
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.37"

# Optional dependencies
serde = { version = "1.0.152", features = ['derive'], optional = true }
serde = { version = "1.0.188", features = ['derive'], optional = true }
serde-wasm-bindgen = { version = "0.5.0", optional = true }

[dependencies.web-sys]
version = "0.3.61"
version = "0.3.64"
features = [
"AbortController",
"AbortSignal",
Expand Down Expand Up @@ -164,4 +164,4 @@ routing = ["dep:serde", "dep:serde-wasm-bindgen"]
version_check = "0.9.4"

[dev-dependencies]
wasm-bindgen-test = "0.3.34"
wasm-bindgen-test = "0.3.37"
2 changes: 1 addition & 1 deletion examples/animation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ crate-type = ["cdylib"]
seed = {path = "../../"}
rand = "0.8.5"
# https://docs.rs/getrandom/0.2.0/getrandom/#webassembly-support
getrandom = { version = "0.2.8", features = ["js"] }
getrandom = { version = "0.2.10", features = ["js"] }
8 changes: 4 additions & 4 deletions examples/auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
gloo-console = "0.2.3"
gloo-net = "0.2.6"
gloo-storage = "0.2.2"
gloo-console = "0.3.0"
gloo-net = "0.4.0"
gloo-storage = "0.3.0"
seed = { path = "../../", features = ["routing"] }
serde = "1.0.152"
serde = "1.0.188"
7 changes: 3 additions & 4 deletions examples/auth/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(clippy::must_use_candidate)]

use gloo_console::log;
use gloo_net::http::{Method, Request};
use gloo_net::http::Request;
use gloo_storage::{LocalStorage, Storage};
use seed::{prelude::*, *};
use serde::{Deserialize, Serialize};
Expand Down Expand Up @@ -127,9 +127,8 @@ fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders<Msg>) {
Msg::EmailChanged(email) => model.email = email,
Msg::PasswordChanged(password) => model.password = password,
Msg::LoginClicked => {
let request = Request::new(&format!("{API_URL}/users/login"))
.method(Method::POST)
.json(&LoginRequestBody {
let request =
Request::post(&format!("{API_URL}/users/login")).json(&LoginRequestBody {
email: &model.email,
password: &model.password,
});
Expand Down
4 changes: 2 additions & 2 deletions examples/bunnies/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ path = "src/empty_lib.rs"
[dependencies]
seed = { path = "../../" }
rand = { version = "0.8.5", features = ["small_rng"] }
nalgebra = "0.32.1"
awsm_web = { version = "0.38.0", features = ["tick", "webgl", "loaders", "audio", "serde_iso"], default-features = false }
nalgebra = "0.32.3"
awsm_web = { version = "0.43.0", features = ["tick", "webgl", "loaders", "audio", "serde_iso"], default-features = false }
shipyard = { version = "0.6.2", features = ["thread_local"], default-features = false }
2 changes: 1 addition & 1 deletion examples/charts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ crate-type = ["cdylib"]

[dependencies]
seed = {path = "../../"}
itertools = "0.10.5"
itertools = "0.11.0"
2 changes: 1 addition & 1 deletion examples/drag_and_drop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
gloo-console = "0.2.3"
gloo-console = "0.3.0"
seed = {path = "../../"}
Loading

0 comments on commit e9a9d73

Please sign in to comment.