Types straight from the schema
Columns become strongly typed struct fields – optional values, lengths and keys included.
Use case
Rust is fast and safe – but writing structs, data access and repetitive CRUD code for every table takes time. Scoriet generates that code from your database schema using templates, so your Rust project starts with a complete, consistent data layer and application structure.
Columns become strongly typed struct fields – optional values, lengths and keys included.
Data access and CRUD code for every table are generated in one run instead of written table by table.
Templates are plain text with placeholders. Use the frameworks and crates you prefer and keep them consistent across projects.
When the schema changes, regenerate. Scoriet shows changed files and creates the database migration script.
What you get
How it works
Import your MySQL schema or design the tables in the database designer.
Use an existing Rust template or create one for your preferred framework and crates.
Generate the project and build it with cargo – then add your own logic.
Scoriet is not tied to a framework. Whatever you put into the template is generated – you decide which web framework and database crates the project uses.
The code follows the template, so it is as idiomatic as your template. Improve the template once and every generation benefits.
Yes. Scoriet tracks which generated files you changed and can take those changes back into the next generation.