Description
Crux is a framework for cross-platform app development in Rust. It lets you share an app's business logic and behaviour across iOS, Android and the web as a single reusable core written in Rust, with a thin shell for the UI. The shell can be SwiftUI, Jetpack Compose, React or Vue, or a WebAssembly framework such as Leptos or Yew. Type generation gives static type checking across languages, with types and serialisation code generated for Swift, Kotlin and TypeScript, and Rust shells can import the core directly. Side effects, such as calling an API, are captured as values and executed by the shell, so the core stays side-effect-free. The site says this makes the core portable across platforms and lets high-level user journey tests run in milliseconds.…
Highlights
- Shared Rust core for iOS, Android and web
- Thin native or web UI shells
- Generated types for Swift, Kotlin and TypeScript
- Side effects managed by the shell
Ratings & Reviews
No ratings yet
Be the first to rate Crux.
People also visit
Crux FAQ
What is Crux?
A framework for cross-platform app development in Rust, with a shared core and thin UI shells.
Which UI frameworks can the shell use?
SwiftUI, Jetpack Compose, React, Vue, or WebAssembly frameworks such as Leptos or Yew.
Is it production-ready?
The README says it is pre-1.0 and under active development, with occasional breaking API changes, but production-ready.
How are side effects handled?
They are captured as values and executed by the shell, so the core stays side-effect-free.
Which languages get generated types?
Swift, Kotlin and TypeScript. Rust shells can import the core directly.
What are the best Crux alternatives?
Popular alternatives to Crux include Whisker, Create Rust App and Deft. See all Crux alternatives


