Crate storeit_macros

Crate storeit_macros 

Source
Expand description

Procedural macros for the storeit-rs repository library.

This crate provides two main macros:

  • #[derive(Entity)]: A derive macro that inspects a struct and generates all the necessary metadata and a default RowAdapter implementation for it to be used in a repository.
  • #[repository(...)]: An attribute macro that generates a complete, asynchronous repository module for an entity.

Attribute Macros§

repository

Derive Macros§

Entity