mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Update dependencies. (#3253)
This commit is contained in:
parent
3394f35a8d
commit
9cebb09b58
524
Cargo.lock
generated
524
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -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",
|
||||
|
||||
@ -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"] }
|
||||
|
||||
@ -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"]
|
||||
|
||||
@ -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,
|
||||
}
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -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,
|
||||
}
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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]
|
||||
|
||||
@ -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"] }
|
||||
|
||||
@ -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.");
|
||||
|
||||
@ -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]
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user