mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 10:43:15 +00:00
Add utility functions and configurations for rustfs-gui (#220)
* Initialize rustfs-gui crate - Set up the `rustfs-gui` package in the workspace. - Add `dioxus` dependency with `router` feature. - Configure workspace settings for edition, license, repository, and rust-version. - Include lints configuration for the workspace. * Add utility functions and configurations for rustfs-gui - Implement `RustFSConfig` struct with default values and methods for loading, saving, and clearing configurations. - Add `ServiceCommand` enum for managing service commands. - Implement `ServiceManager` struct for starting, stopping, and restarting the service. - Include helper functions for checking service status, preparing the service, downloading files, and unzipping files. - Add logging and error handling for service operations.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
mod config;
|
||||
mod helper;
|
||||
|
||||
pub use config::RustFSConfig;
|
||||
Reference in New Issue
Block a user