evenframe_derive 0.1.6

Derive macros for Evenframe - automatic database schema and CRUD generation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use evenframe_derive::Evenframe;

/// Struct without id field - should be an object (not a table)
#[derive(Debug, Clone, Evenframe)]
pub struct Address {
    pub street: String,
    pub city: String,
    pub zip_code: String,
}

fn main() {
    println!("Test passed");
}