Crate forge

Crate forge 

Source
Expand description

FORGE - The Rust Full-Stack Framework

A batteries-included framework for building full-stack web applications with Rust backend and Svelte 5 frontend.

Modules§

prelude
Prelude module for common imports.
testing
Testing utilities for FORGE applications.

Structs§

Forge
The main FORGE runtime.
ForgeBuilder
Builder for configuring the FORGE runtime.
Migration
A single migration with up and optional down SQL.

Attribute Macros§

action
Marks a function as an action (side effects, external APIs).
cron
Marks a function as a scheduled cron task.
forge_enum
Marks an enum for database storage as a PostgreSQL ENUM type.
job
Marks a function as a background job.
model
Marks a struct as a FORGE model, generating schema metadata for TypeScript codegen.
mutation
Marks a function as a mutation (transactional write).
query
Marks a function as a query (read-only, cacheable, subscribable).
workflow
Marks a function as a durable workflow.