toolu-orm-macros 0.2.0

Proc macros (Table, FromRow, relations) for toolu-orm
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! `#[index(...)]` with a non-string first argument must fail.

use toolu_orm_macros::table;

#[table(name = "widgets")]
#[index(123)]
pub struct Widget {
  pub id: String,
}

fn main() {}