fix some warnings

This commit is contained in:
Evan Almloff 2022-12-22 11:37:22 -06:00
parent 9261e4d5e9
commit 6f92e05d64
3 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,5 @@
use proc_macro2::TokenStream;
use syn::{File, Macro, __private::ToTokens};
use syn::{File, Macro};
pub enum DiffResult {
CodeChanged,

View file

@ -1,4 +1,4 @@
pub const DIOXUS_CLI_VERSION: &'static str = "0.1.5";
pub const DIOXUS_CLI_VERSION: &str = "0.1.5";
pub mod builder;
pub mod server;
@ -22,4 +22,4 @@ pub mod logging;
pub use logging::*;
pub mod hot_reload;
pub mod plugin;
pub mod plugin;

View file

@ -9,9 +9,7 @@ use axum::{
use cargo_metadata::diagnostic::Diagnostic;
use colored::Colorize;
use dioxus_core::Template;
use dioxus_rsx::CallBody;
use notify::{RecommendedWatcher, Watcher};
use syn::spanned::Spanned;
use std::{net::UdpSocket, path::PathBuf, process::Command, sync::Arc};
use tower::ServiceBuilder;