Update dependencies. (#3253)

This commit is contained in:
Kaede Hoshikawa 2023-05-01 00:42:43 +09:00 committed by GitHub
parent 3394f35a8d
commit 9cebb09b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 334 additions and 263 deletions

524
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -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",

View File

@ -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"] }

View File

@ -14,11 +14,11 @@ 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"
@ -26,9 +26,9 @@ 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"]

View File

@ -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,
}

View File

@ -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"

View File

@ -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,
}

View File

@ -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"

View File

@ -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"

View File

@ -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"
@ -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",
@ -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"

View File

@ -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]

View File

@ -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"] }

View File

@ -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::*;
@ -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.");

View File

@ -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]

View File

@ -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"

View File

@ -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"