Skip to content

Repository files navigation

🦀 Rust Studio

Rust Studio Logo

The Blazing-Fast, Zero-AI & Hackable IDE for Rust

License: MIT Rust Tauri React Platform

A lightweight, high-performance desktop IDE tailored exclusively for Rust developers.
Zero-bloat architecture powered by native Rust backend, rust-analyzer, Tree-sitter AST, and Tauri.

Quick StartCore FeaturesZero-AI PhilosophyArchitectureContributing


Rust Studio Screenshot

⚡ Why Rust Studio?

Traditional modern IDEs often consume gigabytes of memory and introduce unpredictable AI hallucinations[cite: 4]. Rust Studio is built from the ground up to solve this[cite: 4]:

  • 🚀 Instant Startup & Low Memory: Native Rust backend combined with lightweight WebView rendering[cite: 4]. Sub-100ms startup times without the multi-gigabyte RAM overhead of standard Electron editors[cite: 4].
  • 🎯 100% Deterministic & Compile-Guaranteed: No costly LLM tokens or hallucinated code[cite: 4]. Sits directly on top of rustc, rust-analyzer, and clippy for instantaneous, error-free diagnostics and AST quick-fixes[cite: 4].
  • 🔓 Deeply Hackable: Atom-like UI customizability with the speed and compiler-awareness of dedicated Rust tooling[cite: 4].

✨ Key Features

🔍 Native LSP & AST Engine

  • Full Language Server Protocol (LSP): Deep integration with rust-analyzer for real-time type inference, inlay hints, and go-to-definition[cite: 4].
  • AST-Driven Quick-Fixes: Auto-fill match arms, implement missing trait stubs, and extract functions via concrete syntax trees[cite: 4].
  • Tree-sitter Structural Rewrite: Syntax-aware search and replace that ignores strings and comments[cite: 4].

📦 Seamless Cargo & Clippy Integration

  • Workspace Diagnostics: Integrated cargo check and cargo clippy --message-format=json pipeline[cite: 4].
  • One-Click Clippy Fix: Run automated, machine-applicable lint repairs across your workspace with zero syntax drift[cite: 4].

🔀 Built-in Git & Merge Conflict Resolver

  • Visual staging, commit tracking, diff preview, and specialized 3-way merge conflict resolution[cite: 4].
  • Secure GitHub integration utilizing native OS Credential Stores (Windows Credential Manager / macOS Keychain / Linux Secret Service)[cite: 4].

🎨 Customizable & Responsive Workspace

  • Dynamic Themes: Clean Light & Dark industrial themes with CSS Custom Property tokens[cite: 4].
  • Font & Layout Scaling: Native ligatures, custom font stacks (JetBrains Mono, Fira Code), and fluid side-panel drawers[cite: 4].
  • Integrated Media Viewers: Built-in viewer support for Markdown preview, SVG, PDF, CSV, and images[cite: 4].

🛡️ The Zero-AI & Deterministic Philosophy

Rust Studio intentionally focuses on deterministic code intelligence over statistical language models[cite: 4]:

Metric Rust Studio (AST / LSP / Compiler) Cloud AI Coding Extensions
Response Latency Instantaneous (0ms – 10ms)[cite: 4] 500ms – 3000ms per token[cite: 4]
Hardware Overhead Ultra-low RAM footprint[cite: 4] 1GB – 4GB+ RAM / Local GPU VRAM[cite: 4]
Code Reliability 100% Syntax & Lifetime Correct[cite: 4] Risk of type/lifetime hallucinations[cite: 4]
Privacy & Security 100% Offline & Local-First[cite: 4] Code sent to remote third-party servers[cite: 4]
Operating Cost Free forever (0 USD)[cite: 4] Monthly recurring subscriptions / API bills[cite: 4]

🚀 Quick Start

Prerequisites

Ensure you have the following installed[cite: 4]:

Build & Run from Source

# 1. Fork repository
git clone [https://github.com/pomagrenate/rust-studio.git](https://github.com/pomagrenate/rust-studio.git)
cd rust-studio

# 2. Install frontend dependencies
npm install

# 3. Launch in development mode
npm run tauri dev

# 4. Build standalone production binary
npm run tauri build

🏗️ Architecture

┌────────────────────────────────────────────────────────┐
│                   React + TypeScript UI                │
│  (Rope Buffer, Virtualized Gutter, Settings, Diff UI)  │
└───────────────────────────▲────────────────────────────┘
                            │ Tauri IPC (JSON-RPC)
┌───────────────────────────▼────────────────────────────┐
│                    Rust Native Core                    │
│ ┌──────────────────┬─────────────────┬───────────────┐ │
│ │  rust-analyzer   │  Cargo Engine   │ Tree-sitter   │ │
│ │  (LSP Server)    │  (Clippy/Check) │ (AST Matches) │ │
│ └──────────────────┴─────────────────┴───────────────┘ │
└────────────────────────────────────────────────────────┘


⌨️ Useful Default Shortcuts

Action Shortcut
Quick-Fix / Code Action Alt + Enter / Ctrl + .
Surround With Block Ctrl + Alt + T
Command Palette Ctrl + Shift + P
Format Document Shift + Alt + F
Quick File Open Ctrl + P

🤝 Contributing

Contributions are warmly welcomed! Please read our CONTRIBUTE.md for architectural guidelines, coding standards, and PR workflows.


📄 License

Distributed under the MIT License. See LICENSE for more details.

About

A fast, hackable Rust IDE powered by Tauri & rust-analyzer. Instant compiler diagnostics, AST refactoring, Cargo tools, and zero-AI deterministic fixes.

Topics

Resources

Code of conduct

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages