postgres-json-derive 0.1.0

Derive macro for implementing ToSql and FromSql for a struct
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# postgres-json-derive


Postgres derive based on this [issue](https://github.com/sfackler/rust-postgres/issues/622)

## Usage


```rust
use postgres_json_derive::{ToSqlJson, FromSqlJson};

#[derive(ToSqlJson, FromSqlJson)]

struct Horizon {
    zero: String,
    dawn: i32,
}
```