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
use diesel::sql_types::{Bool, Text};
use diesel_geography::sql_types::Geography;

sql_function!(fn ST_GeomFromGeoJSON(geojson: Text) -> Geography);
sql_function!(fn ST_AsGeoJSON(geom: Geography) -> Text);
sql_function!(fn ST_Intersects(geom1: Geography, geom2: Geography) -> Bool);