Skip to main content

rust-toasty

Stars0
Forks0
UpdatedMay 16, 2026 at 02:03

Expert guidance for the Toasty Rust ORM: model definition with `#[derive(toasty::Model)]` and the `#[key]`, `#[auto]`, `#[unique]`, `#[index]`, `#[has_many]`, `#[belongs_to]`, `#[has_one]` attributes; relationships, association preloading, the `create!`, `update!`, `find_by_*`, and `filter_*` query macros and builders; batch operations, transactions, embedded types, deferred fields, scalar `Vec` array fields, and driver-specific behavior for SQLite, PostgreSQL, MySQL, and DynamoDB. Also covers Toasty internals for contributors: the app/db schema layers and mapping, the query-engine compilation pipeline (AST โ†’ Simplify โ†’ Lower โ†’ Plan โ†’ Execute), and the driver trait. Always invoke this skill for any question mentioning Toasty, the `toasty` crate, `toasty::Model`, `toasty::Db`, `toasty::HasMany`, `toasty::BelongsTo`, `toasty::HasOne`, the `toasty::create!` or `toasty::update!` macros, code under `submodules/toasty/`, or any Rust code that imports `toasty`.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
47 files
SKILL.md
readonly