rustorm-macros 0.1.0

Procedural macros for RustORM
Documentation
  • Coverage
  • 66.67%
    2 out of 3 items documented2 out of 2 items with examples
  • Size
  • Source code size: 36.15 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 366.46 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SnrKarambite

rustorm-macros

Procedural macros for RustORM.

Provides derive macros for automatically implementing ORM traits on your structs.

Not intended to be used directly — use the rustorm crate instead.

Example

use rustorm::Model;

#[derive(Model)]
#[table(name = "users")]
pub struct User {
    pub id: uuid::Uuid,
    pub name: String,
    pub email: String,
}