rullst-orm-macros 12.1.1

Procedural macros and derive attributes for the rullst-orm Active Record pattern.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use rullst_orm_macros::Orm;

#[derive(Orm)]
#[orm(table = "articles")]
struct Article {
    id: i32,
    #[orm(embedding_for = "body")]
    embedding: Option<Vec<f32>>,
}

fn main() {}