Skip to content

Commit

Permalink
Update dependencies. (#3253)
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Apr 30, 2023
1 parent 3394f35 commit 9cebb09
Show file tree
Hide file tree
Showing 16 changed files with 333 additions and 262 deletions.
522 changes: 296 additions & 226 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/dyn_create_destroy_apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ license = "MIT OR Apache-2.0"
[dependencies]
js-sys = "0.3"
yew = { path = "../../packages/yew", features = ["csr"] }
slab = "0.4.3"
slab = "0.4.8"
gloo = "0.8"
wasm-bindgen = "0.2"

[dependencies.web-sys]
version = "0.3.50"
version = "0.3.61"
features = [
"Document",
"Element",
Expand Down
6 changes: 3 additions & 3 deletions examples/password_strength/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
yew = { path = "../../packages/yew", features = ["csr"] }
zxcvbn = "2.2.1"
time = "0.3.14"
js-sys = "0.3.46"
zxcvbn = "2.2.2"
time = "0.3.20"
js-sys = "0.3.61"
web-sys = { version = "0.3", features = ["Event","EventTarget","InputEvent"] }
wasm-bindgen = "0.2"
chrono = { version = "0.4", features = ["wasmbind"] }
10 changes: 5 additions & 5 deletions examples/simple_ssr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ required-features = ["ssr"]

[dependencies]
yew = { path = "../../packages/yew" }
reqwest = { version = "0.11.16", features = ["json"] }
serde = { version = "1.0.159", features = ["derive"] }
reqwest = { version = "0.11.17", features = ["json"] }
serde = { version = "1.0.160", features = ["derive"] }
uuid = { version = "1.3.2", features = ["serde"] }
futures = "0.3"
bytes = "1.0"
bytes = "1.4"

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
wasm-logger = "0.2"
log = "0.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.27.0", features = ["full"] }
tokio = { version = "1.28.0", features = ["full"] }
warp = "0.3"
clap = { version = "3.1.7", features = ["derive"] }
clap = { version = "4", features = ["derive"] }

[features]
hydration = ["yew/hydration"]
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_ssr/src/bin/simple_ssr_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type BoxedError = Box<dyn Error + Send + Sync + 'static>;
#[derive(Parser, Debug)]
struct Opt {
/// the "dist" created by trunk directory to be served for hydration.
#[structopt(short, long, parse(from_os_str))]
#[structopt(short, long)]
dir: PathBuf,
}

Expand Down
4 changes: 2 additions & 2 deletions examples/ssr_router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ wasm-bindgen-futures = "0.4"
wasm-logger = "0.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.27.0", features = ["full"] }
tokio = { version = "1.28.0", features = ["full"] }
axum = "0.6"
tower = { version = "0.4", features = ["make"] }
tower-http = { version = "0.3", features = ["fs"] }
env_logger = "0.10"
clap = { version = "3.1.7", features = ["derive"] }
clap = { version = "4", features = ["derive"] }
hyper = { version = "0.14", features = ["server", "http1"] }
jemallocator = "0.5"

Expand Down
2 changes: 1 addition & 1 deletion examples/ssr_router/src/bin/ssr_router_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc;
#[derive(Parser, Debug)]
struct Opt {
/// the "dist" created by trunk directory to be served for hydration.
#[clap(short, long, parse(from_os_str))]
#[clap(short, long)]
dir: PathBuf,
}

Expand Down
2 changes: 1 addition & 1 deletion packages/yew-agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ yew = { version = "0.20.0", path = "../yew" }
gloo-worker = "0.1"

[dev-dependencies]
serde = "1.0.159"
serde = "1.0.160"
2 changes: 1 addition & 1 deletion packages/yew-router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ gloo = { version = "0.8", features = ["futures"] }
route-recognizer = "0.3"
serde = "1"
serde_urlencoded = "0.7.1"
tracing = "0.1.36"
tracing = "0.1.37"

[dependencies.web-sys]
version = "0.3"
Expand Down
10 changes: 5 additions & 5 deletions packages/yew/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ wasm-bindgen = "0.2"
yew-macro = { version = "^0.20.0", path = "../yew-macro" }
thiserror = "1.0"
futures = { version = "0.3", default-features = false, features = ["std"] }
html-escape = { version = "0.2.9", optional = true }
html-escape = { version = "0.2.13", optional = true }
implicit-clone = { version = "0.3", features = ["map"] }
base64ct = { version = "1.6.0", features = ["std"], optional = true }
bincode = { version = "1.3.3", optional = true }
serde = { version = "1", features = ["derive"] }
tracing = "0.1.36"
tracing = "0.1.37"
prokio = "0.1.0"
rustversion = "1"

Expand All @@ -40,10 +40,10 @@ wasm-bindgen-futures = "0.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# We still need tokio as we have docs linked to it.
tokio = { version = "1.27", features = ["rt"] }
tokio = { version = "1.28", features = ["rt"] }

[dependencies.web-sys]
version = "^0.3.59"
version = "^0.3.61"
features = [
"AnimationEvent",
"Document",
Expand Down Expand Up @@ -79,7 +79,7 @@ features = [
]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1.27", features = ["full"] }
tokio = { version = "1.28", features = ["full"] }

[dev-dependencies]
wasm-bindgen-test = "0.3"
Expand Down
6 changes: 3 additions & 3 deletions tools/benchmark-hooks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ crate-type = ["cdylib"]

[dependencies]
rand = { version = "0.8.5", features = ["small_rng"] }
getrandom = { version = "0.2.8", features = ["js"] }
wasm-bindgen = "0.2.83"
web-sys = { version = "0.3.60", features = ["Window"]}
getrandom = { version = "0.2.9", features = ["js"] }
wasm-bindgen = "0.2.84"
web-sys = { version = "0.3.61", features = ["Window"]}
yew = { version = "0.20.0", features = ["csr"], path = "../../packages/yew" }

[package.metadata.wasm-pack.profile.release]
Expand Down
10 changes: 5 additions & 5 deletions tools/benchmark-ssr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ edition = "2021"
[dependencies]
yew = { path = "../../packages/yew", features = ["ssr"] }
function_router = { path = "../../examples/function_router" }
tokio = { version = "1.27", features = ["full"] }
tokio = { version = "1.28", features = ["full"] }
jemallocator = "0.5.0"
average = "0.13.1"
tabled = "0.8.0"
indicatif = "0.17.0"
serde = { version = "1.0.159", features = ["derive"] }
tabled = "0.12.0"
indicatif = "0.17.3"
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
clap = { version = "3.2.8", features = ["derive"] }
clap = { version = "4", features = ["derive"] }
5 changes: 3 additions & 2 deletions tools/benchmark-ssr/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ use clap::Parser;
use function_router::{ServerApp, ServerAppProps};
use indicatif::{ProgressBar, ProgressStyle};
use serde::{Deserialize, Serialize};
use tabled::{Style, TableIteratorExt, Tabled};
use tabled::settings::Style;
use tabled::{Table, Tabled};
use tokio::task::{spawn_local, LocalSet};
use yew::platform::time::sleep;
use yew::prelude::*;
Expand Down Expand Up @@ -342,7 +343,7 @@ async fn main() {
Statistics::from_results("Many Providers", args.rounds, many_provider_results),
];

println!("{}", output.as_ref().table().with(Style::rounded()));
println!("{}", Table::new(&output).with(Style::rounded()));

if let Some(ref p) = args.output_path {
let mut f = File::create(p).expect("failed to write output.");
Expand Down
6 changes: 3 additions & 3 deletions tools/benchmark-struct/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ crate-type = ["cdylib"]

[dependencies]
rand = { version = "0.8.5", features = ["small_rng"] }
getrandom = { version = "0.2.8", features = ["js"] }
wasm-bindgen = "0.2.83"
web-sys = { version = "0.3.60", features = ["Window"]}
getrandom = { version = "0.2.9", features = ["js"] }
wasm-bindgen = "0.2.84"
web-sys = { version = "0.3.61", features = ["Window"]}
yew = { version = "0.20.0", features = ["csr"], path = "../../packages/yew" }

[package.metadata.wasm-pack.profile.release]
Expand Down
2 changes: 1 addition & 1 deletion tools/changelog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ regex = "1"
reqwest = { version = "0.11", features = ["blocking", "json"] }
serde = { version = "1", features = ["derive"] }
strum = { version = "0.24", features = ["derive"] }
clap = { version = "3", features = ["derive"] }
clap = { version = "4", features = ["derive"] }
semver = "1.0"
once_cell = "1"
2 changes: 1 addition & 1 deletion tools/website-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ wasm-bindgen-futures = "0.4"
weblog = "0.3.0"
yew = { path = "../../packages/yew/", features = ["ssr", "csr"] }
yew-router = { path = "../../packages/yew-router/" }
tokio = { version = "1.27.0", features = ["rt", "macros"] }
tokio = { version = "1.28.0", features = ["rt", "macros"] }

[dev-dependencies.web-sys]
version = "0.3"
Expand Down

0 comments on commit 9cebb09

Please sign in to comment.