roomrs 0.2.2

Room-style local SQLite persistence library for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use roomrs::{database, entity};

#[entity]
struct Item {
    #[pk]
    id: i64,
}

#[database(entities(Item, Item), version = 1)]
struct Db;

fn main() {}