5 releases (1 stable)
1.0.0 | Jun 14, 2022 |
---|---|
0.1.3 | Dec 7, 2021 |
0.1.2 | Nov 14, 2018 |
0.1.1 | Nov 14, 2018 |
0.1.0 | Nov 14, 2018 |
#678 in Procedural macros
1,949 downloads per month
4KB
Diesel As JSONB (for PG)
Usage
#[derive(AsJsonb)]]
struct Something {
thing: String,
}
struct Wrapper {
things: Vec<Something> // For JSONB[]
thing: Something // For JSONB
}
Dependencies
~1.5MB
~32K SLoC