A Tauri + Leptos application for launching RustFS.
Before building the application, you need to download the required RustFS binary for your platform:
# Download binary for current platform
./build.sh
# Build for development
cargo tauri dev
# Build for production
cargo tauri build# Download binary for current platform
build.bat
# Build for development
cargo tauri dev
# Build for production
cargo tauri buildThe build script will automatically detect your platform and download the appropriate binary:
- macOS Apple Silicon:
rustfs-macos-aarch64 - macOS Intel:
rustfs-macos-x86_64 - Windows x86_64:
rustfs-windows-x86_64.exe
This approach reduces download time and storage space by only downloading the binary needed for your current platform.
Before committing your code, run all CI checks locally:
make pre-commitThis will run:
- Code formatting check (
cargo fmt) - Clippy linter (
cargo clippy) - Frontend build (
trunk build) - Unit tests (
cargo test)
make check-fmt # Check code formatting
make check-clippy # Run Clippy linter
make check-frontend # Build frontend
make check-test # Run tests
make fix-fmt # Auto-fix formattingThe project uses GitHub Actions for continuous integration and automated releases. See .github/ACTIONS.md for details.
For local testing of GitHub Actions workflows, see .github/TESTING.md.
VS Code + Tauri + rust-analyzer.