drizzle 0.4.0

A type-safe SQL query builder for Rust
1
2
3
4
5
6
7
8
9
10
11
12
use drizzle::sqlite::prelude::*;

// `varchar(255)` is not a SQLite column attribute; it used to be ignored.
#[SQLiteTable]
struct Users {
    #[column(primary)]
    id: i64,
    #[column(varchar(255))]
    name: String,
}

fn main() {}