sqlmodel-macros 0.2.1

Procedural macros for SQLModel Rust
Documentation

sqlmodel-macros

Proc-macros that generate Model metadata and validation code.

Role in the SQLModel Rust System

  • Derive macros for Model, Validate, and JsonSchema.
  • Generates compile-time metadata used by query and schema layers.
  • Used indirectly through the sqlmodel facade.

Usage

Most users should depend on sqlmodel and import from sqlmodel::prelude::*. Use this crate directly if you are extending internals or building tooling around the core APIs.

Links