Add proc macro to implement models

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
Lee Smet
2025-04-25 11:01:18 +02:00
parent 1343e61e0f
commit dc93518a35
10 changed files with 341 additions and 1 deletions

View File

@@ -3,3 +3,6 @@ pub mod models;
/// Database implementations
pub mod db;
// Re-export the procedural macro
pub use heromodels_derive::model;

View File

@@ -145,4 +145,3 @@ impl Index for IsActive {
"is_active"
}
}