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: a descriptor-driven admin panel, authentication and permissions, namespaced migrations and typed settings, on Axum and sqlx, for Postgres, MySQL or SQLite.

cargo install laterite-cli
lat new
CrateProvides
laterite-coreConfig, errors, the database layer, migrations, modules.
laterite-authBackend users, sessions, roles and permissions.
laterite-adminThe admin router, list and form screens, settings.
laterite-mediaContent-addressed file storage. Optional.
laterite-webStatic-site generation and page metadata. Optional.
laterite-cliThe lat command.
laterite-macrosThe t!, tn! and tp! translation macros.
SectionCovers
Getting StartedInstalling, configuring and running an application.
Extending LateriteEach capability: what to write and what can be set.
ReferenceThe icon set and the generated API documentation.