From 83c4666f2e34efdf39fbba0d9a8b940a72b23e56 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Sun, 20 Mar 2022 20:32:28 -0400 Subject: [PATCH 1/2] publish: release 0.1.4 to crates --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3ae7b4610..4df178e4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-cli" -version = "0.1.3" +version = "0.1.4" authors = ["Jonathan Kelley"] edition = "2018" description = "CLI tool for developing, testing, and publishing Dioxus apps" @@ -10,7 +10,7 @@ license = "MIT/Apache-2.0" [dependencies] # cli core -clap = {version = "3.0.14", features = ["derive"]} +clap = { version = "3.0.14", features = ["derive"] } thiserror = "1.0.30" wasm-bindgen-cli-support = "0.2.79" # features From 3415f0d105666c59babb5814790d076e8205c5c7 Mon Sep 17 00:00:00 2001 From: imbolc Date: Mon, 21 Mar 2022 08:46:37 +0300 Subject: [PATCH 2/2] Remove axum warnings --- src/server/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/mod.rs b/src/server/mod.rs index 38e37d60b..8e6b03a77 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -3,7 +3,7 @@ use axum::{ http::StatusCode, response::IntoResponse, routing::{get, get_service}, - AddExtensionLayer, Router, + Router, }; use notify::{RecommendedWatcher, Watcher}; @@ -88,7 +88,7 @@ pub async fn startup(config: CrateConfig) -> Result<()> { }, ), ) - .layer(AddExtensionLayer::new(ws_reload_state)) + .layer(Extension(ws_reload_state)) .into_make_service(), ) .await?;