Add new proxy.rs module with get_proxies and get_providers_proxies commands.
Update mod.rs and lib.rs to re-export and register proxy commands.
Update API.ts to use invoke for proxy commands.
Minor formatting improvements in module/mihomo.rs.
• Introduce new API caller implementations for Mihomo in model and module layers.
• Add configuration and API integration files under /src-tauri/src/config/api and /src-tauri/src/model/api.
• Implement a singleton MihomoAPICaller with async API call support and integration tests.
• Create a new MihomoManager module to refresh and fetch proxies from the API.
• Update Cargo.lock and Cargo.toml with additional dependencies (async-trait, env_logger, mockito, tempfile, etc.) related to the Mihomo API support.
docs: add fast build and clean commands to contributing guide
- Added documentation for the `pnpm build:fast` command which uses Rust's fast-release profile to reduce compilation time
- Added explanation that fast builds disable optimization and LTO, resulting in larger but quicker builds
- Added documentation for the `pnpm clean` command to clean Rust build files
* refactor: improve proxy group UI and spacing
- Increased spacing in proxy-groups.tsx by adjusting the right position
of the alphabet selector to provide better visual separation
- Enhanced spacing in proxy-render.tsx with larger margins and padding
- Increased group item margins from 8px to 10px with 16px horizontal spacing
- Expanded border radius from 8px to 10px for smoother appearance
- Improved ProxyHead component spacing with pl: 3, pr: 3.5
- Enhanced grid spacing in proxy collection items from 1 to 1.5
- Adjusted padding for better visual hierarchy
These changes create a more polished, spacious layout with improved
readability and touch targets.
* - Update package.json with improved dev and build scripts:
- Add fast-dev profile to development scripts
- Configure build:fast with fast-release profile
- Add clean command for cargo cleaning
- Increased spacing in proxy-groups.tsx by adjusting the right position
of the alphabet selector to provide better visual separation
- Enhanced spacing in proxy-render.tsx with larger margins and padding
- Increased group item margins from 8px to 10px with 16px horizontal spacing
- Expanded border radius from 8px to 10px for smoother appearance
- Improved ProxyHead component spacing with pl: 3, pr: 3.5
- Enhanced grid spacing in proxy collection items from 1 to 1.5
- Adjusted padding for better visual hierarchy
These changes create a more polished, spacious layout with improved
readability and touch targets.
- Added fast compilation profiles in Cargo.toml
- fast-dev profile with max codegen units and disabled optimizations
- fast-release profile with debugging support and faster build time
- Added new npm scripts for quick development iterations
- dev:fast command for standard development without extra features
- build:fast command for quick release builds
- Updated default dev command to use verge-dev feature flag
- Both profiles retain debug symbols and disable stripping for better debugging
- Renamed `cmds` module to `cmd` for better naming consistency
- Reorganized command modules into separate files under src/cmd/
- Updated all imports and references to use the new module name
- Fixed missing dependency in webdav.rs to reference core::backup
- Updated tray module to use new cmd namespace
- Improved uwp.rs module structure using platform-specific implementations
- Removed unnecessary imports from various command files