iPhone & iPad ยท one-time purchase

A real Rust compiler,
in your pocket.

Crabrix runs rustc itself on your device. Not a sandbox that phones home, not a syntax-highlighted notepad โ€” the actual compiler, resolving real crates.io packages and producing real diagnostics, with the network off.

Read the lessons free See the app price Source on GitHub No subscription. No accounts. No ads.

What it actually does

Four things that normally require a laptop, done on a phone.

โš™๏ธ

Compiles Rust on device

A pinned WASI build of rustc executes inside a Swift WebAssembly interpreter. Real type checking, real borrow checking, real error codes โ€” the first compile is genuine, and identical repeat runs come from a local cache.

๐Ÿ“ฆ

Resolves real crates.io packages

Sparse-index resolution, SemVer and feature unification, target filtering, SHA-256-verified downloads, dependency compilation, and --extern linking. It writes a real Cargo.lock. Cached dependencies rebuild while iOS retains them, and Pin for Offline keeps their exact verified archives durable after a cache eviction.

๐ŸŽ“

Teaches from the compiler

Seven courses: 142 guided Rust lessons and a 200-pattern Algorithm Atlas with 600 steps. Choose which courses to download for offline use; Code Examples is a separate download with 46 open stops. Every example has its own infographic, project guide, and source preview. Open in Code creates an editable project with its own README; course updates keep your edited copies. Existing learners retain all seven courses offline after updating.

โœˆ๏ธ

Works with the network off

The toolchain ships inside the app and never downloads at runtime. Once a project's packages are cached, it builds in airplane mode.

On the device

Choose a course, keep it offline, then turn an idea into a project in the native Rust editor.

Downloaded Crabrix courses with lesson progress and Start buttons
Study offline
Borrowing lesson with a highlighted Rust example and an infographic explaining when a borrow ends
Code, diagrams and explanations
Crabrix Rust project editor with source files and Code, Problems, Output and Terminal tabs
Edit and run Rust
Crabrix on iPhone Duo in laptop posture with project search, Rust editor, code tabs and keyboard
Write Rust on Duo
Crabrix on iPhone Duo showing a completed local run, program output and rating
See the result on Duo
Code Examples path with every Rust example open
Code Examples
Example description, source preview and Open in Code button
Read, then open in Code
Cyberpunk appearance and local app protection in Settings
Cyberpunk and app protection
Crabrix workspace on iPad with project files, in-file search and Rust editor
The iPad workspace: project files, in-file search, and the Rust editor.

The curriculum

Six language courses with 142 lessons, plus 20 independent solution-method chapters with 200 patterns and 600 steps ordered inside their method.

Rust FoundationsTypes, operators, functions, control flow, docs
Ownership & BorrowingMoves, borrows, slices, Copy, Drop, lifetimes
Modeling DataStructs, enums, Option/Result, strings, patterns
AbstractionsGenerics, traits, closures, iterators, operators
Real ProjectsModules, tests, errors, dependencies, workspaces
Smart PointersBox, Rc, RefCell, Deref, Drop, cycles
Fearless ConcurrencyThreads, channels, Mutex, Send & Sync
Async RustFutures, runtimes, join and cancellation
Macrosmacro_rules!, proc macros, cfg and features
Systems Rustunsafe, FFI, performance, idioms
Algorithm Atlas20 independent methods, 200 patterns, HOW โ†’ WHEN โ†’ Rust challenge

Plus Quick Practice, Term Train with a timed mode, Code Recall, 37 achievement ladders of five tiers each, and a rating you earn across everything you do.

Browse all 742 free lessons โ†’

Price

Buy it once. It is yours, on iPhone and iPad, with every update included.

Launch price
$9.99 ยท goes up as Crabrix grows
  • One-time purchase โ€” no subscription, ever
  • Buy at the launch price and later increases never touch you
  • Universal: iPhone and iPad, one buy
  • No in-app purchases and no paywalled features
  • No ads or analytics SDK in the app; no account required
  • Free updates

The compiler and package manager ship in the app. All seven courses are included in the purchase; a new install lets you choose which ones to download for offline use. Existing learners keep their migrated offline material. Course downloads do not add a second transaction.

What it does not do

A compiler on a phone has real edges. Better you read them here than discover them later.

  • Procedural macros do not run. They need a host-native compiler, so serde's derive feature and anything like it is reported as unsupported rather than silently mis-built.
  • Build scripts are not executed. Many crates whose build.rs only probes compiler features still work, and those are flagged for review rather than blocked.
  • Crates that link native C libraries are out of reach, as are ones that build only as cdylib or staticlib.
  • Cold builds take time. rustc runs in an interpreter. Cached identical runs avoid recompiling; actual timings depend on the project, dependencies, device, and cache state.
  • The codegen backend has gaps. Some crates hit unimplemented integer operations. Crabrix records the real outcome of every dependency build and shows it, with the compiler's own reason.

Questions

Is this really compiling, or is it sending my code to a server?

Really compiling. The rustc binary and its wasm32-wasip1 sysroot are inside the app bundle, verified by SHA-256 at build time. Turn on airplane mode and it still compiles. Network requests occur when you download a course, import a public GitHub snapshot, or search and download crates.

Which crates work?

Pure-Rust, no-std-friendly and std crates that do not need proc macros or native libraries. Verified working examples include smallvec, memchr, log, once_cell, arrayvec, either, cfg-if and anyhow. Crabrix records what actually built and tells you the reason when something does not.

Do I need an account?

No required account. Projects and course progress stay on your device. You can optionally enable Apple Game Center in Profile to share your numeric rating and achievement ladder progress on Apple's leaderboard; The app has no Crabrix account or leaderboard server. A separate free website account opens full Academy lessons. The public website's hosting is described in its privacy policy.

Does it work offline?

The compiler, downloaded courses, and local projects work offline. A crate exercise also needs its dependencies prepared; Pin for Offline keeps exact verified crate archives durable after cache eviction. First-time course and package downloads, and GitHub imports require a connection.

Can I remove a downloaded course without losing my project?

Yes. Learn has a menu for each downloaded course. Removing its offline copy leaves your separate projects and progress in place; you can download the course again later.

Can I get my projects in and out?

Yes. Import a folder from Files or iCloud Drive, import a public GitHub repository snapshot, or open a shared GitHub link straight from Safari. Export as an editable .crabrixproject package or as a plain ZIP for AirDrop, Mail, or Files.

Why is it a one-time purchase?

Because it is a tool, not a service. Nothing runs on a server on your behalf, so there is no recurring cost to pass on.

Which devices does it need?

iOS and iPadOS 18 or newer. It runs on an iPhone, but a compiler is CPU-heavy work: newer devices build noticeably faster, and an iPad gives you the full multi-panel workspace.

About

Crabrix is built by Serhii Ziborov. It began as one stubborn question โ€” whether a real Rust compiler could type-check and run code inside an iPhone app while offline โ€” and turned into a workspace once the answer was yes.

The source is publicly readable on GitHub for review and evaluation. It is commercial software, not an open-source project: reuse, redistribution, or derivative works need written permission. Bundled third-party components keep their own licences and attributions.