Rustman is a lightweight, native alternative to tools like Postman or Insomnia. Built entirely in Rust, it ditches the heavy Electron wrappers to offer instant startup times and minimal memory usage.
Designed with the ELM Architecture and the Iced framework, Rustman proves that you can build beautiful, responsive, and type-safe GUI applications for the desktop.
- π Native Performance: Starts instantly, uses <50MB RAM.
- π‘ Full HTTP Support: GET, POST, PUT, DELETE, PATCH.
- π¨ Cyberpunk Interface: Custom Dark Mode with neon orange accents.
- π JSON Pretty-Printing: Automatic formatting and coloring of JSON responses.
- π Dynamic Headers: Add, edit, and remove request headers on the fly.
- π Request History: Sidebar automatically saves your requests for quick replay.
- β‘ Async Core: Powered by
TokioandReqwestfor non-blocking I/O.
- Language: Rust (Edition 2021)
- GUI Framework: Iced (v0.12)
- HTTP Client: Reqwest
- Async Runtime: Tokio
- Serialization: Serde JSON
Rustman follows a strict Model-View-Update (ELM) architecture to ensure code scalability and maintainability.
src/
βββ main.rs # π Entry Point: Window settings & Application launch.
βββ app.rs # π§ The Brain: State management & Update logic.
βββ view.rs # π¨ The View: UI Layout & Styling (Pure functions).
βββ message.rs # π¨ The Events: Enum listing all possible user actions.
βββ http_client.rs # βοΈ The Engine: Async network logic, decoupled from UI.
