birdseed 0.2.0

birdseed enables you to seed a libellis database with fake data, clear all tables, or rebuild all tables per the current embedded migrations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::schema::*;

#[derive(Queryable)]
pub struct Category {
    pub title: String,
}

#[derive(Insertable)]
#[table_name = "categories"]
pub struct NewCategory<'a> {
    pub title: &'a str,
}