refactor: remove unused methods and dependencies

1. Removed unused `unzip_file` and `download_file` methods from `utils/helper.rs`.
2. Removed `reqwest` and `zip` crates from `Cargo.toml`.
This commit is contained in:
houseme
2025-03-05 19:05:30 +08:00
parent 9b77084ffe
commit bd38457adc
9 changed files with 13 additions and 409 deletions
+3
View File
@@ -0,0 +1,3 @@
mod router;
pub use router::Route;
+14
View File
@@ -0,0 +1,14 @@
use crate::components::Navbar;
use crate::views::{HomeViews, SettingViews};
use dioxus::prelude::*;
/// The router for the application
#[derive(Debug, Clone, Routable, PartialEq)]
#[rustfmt::skip]
pub enum Route {
#[layout(Navbar)]
#[route("/")]
HomeViews {},
#[route("/settings")]
SettingViews {},
}