Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Laterite

Laterite is a content management framework for Rust. It gives an application a descriptor-driven admin panel, authentication and permissions, a namespaced migration system, and typed settings, all built on Axum, sqlx, and Postgres.

The framework is assembled from small crates, each owning one concern:

CrateConcern
laterite-coreModule registration and the migration runner
laterite-authBackend users, roles, sessions, and permissions
laterite-adminDescriptor-driven list and form screens
laterite-settingsTyped settings models stored as JSONB
laterite-cliAdministrative commands (create user, reset password)

How this guide is organized

  • Getting Started walks through adding Laterite to a project and running the admin panel.
  • Extending Laterite documents each capability as it is built: how to declare it, wire it into an application, and the guarantees it provides.
  • Reference links to the generated API documentation for every crate.

This guide grows one feature at a time alongside the framework. If a capability is not documented here yet, it is not part of a shipped release.