rustango-macros 0.14.2

Proc-macros for rustango: #[derive(Model)] and friends.
Documentation
rustango-macros-0.14.2 has been yanked.

Proc-macros for rustango.

v0.1 ships #[derive(Model)], which emits:

  • a Model impl carrying a static ModelSchema,
  • an inventory::submit! so the model is discoverable from the registry,
  • an inherent objects() returning a QuerySet<Self>,
  • a sqlx::FromRow impl so query results decode into the struct.