Moby Documentation

Welcome to Moby Documentation

Moby is a next-generation web platform built with Rust for performance, reliability, and safety. This documentation covers core concepts, system design, and how to use Moby effectively.

Getting Started

To begin using Moby, ensure you have Rust and Cargo installed on your system. Follow the steps below to start your project:

// Install Rust
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
$ source $HOME/.cargo/env

// Create new project
$ cargo new my-moby-project
                

Core Concepts

Moby is built around three core principles:

API Reference

Explore Moby's Rust-based API for web development:

Routing System

Define routes with compile-time guarantees and runtime safety. Supports async handlers and middleware.

WebAssembly Support

Cross-compile your Moby apps to WebAssembly for browser and edge deployments. Full Rust support.

Developer Tools

CLI

Command-line interface for scaffolding projects and generating Rust templates code.

Debugger

Integrated Rust debugging tools with real-time memory visualization and thread tracking.

Analytics

Performance metrics and Rust-specific profiling for memory usage and allocation patterns.