mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-05 12:57:42 +00:00
bd38457adc
1. Removed unused `unzip_file` and `download_file` methods from `utils/helper.rs`. 2. Removed `reqwest` and `zip` crates from `Cargo.toml`.
15 lines
322 B
Rust
15 lines
322 B
Rust
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 {},
|
|
}
|