toolu-orm-macros 0.1.1

Proc macros (Table, FromRow, relations) for toolu-orm
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! `#[derive(Relational)]` without `#[relational(table = "...")]` must fail.

use toolu_orm_macros::Relational;

#[derive(Relational)]
struct Widget {
  pub id: String,
}

fn main() {
  let _ = Widget { id: String::new() };
}