#graphql #postgis #sqlx

geox

Shim to simplify using PostGIS types with sqlx and async-graphql

12 releases

0.6.0 Mar 25, 2024
0.5.3 Nov 15, 2023
0.5.2 Feb 23, 2023
0.5.1 Oct 10, 2022
0.3.2 Nov 30, 2021

#79 in Geospatial

47 downloads per month

Apache-2.0 OR MIT

19KB
485 lines

geox

Shim to simplify using PostGIS types with sqlx and async-graphql.

Feature flags:

  • async-graphql: enable GraphQL types
  • sqlx: enable conversions for sqlx
  • serde: enable serde serialisation and deserialisation

Running tests locally

  1. docker run -d -e POSTGRES_PASSWORD=password -p 5432:5432 --name geox ghcr.io/baosystems/postgis:latest
  2. cargo test
  3. ???
  4. PROFIT!

Dependencies

~7–19MB
~272K SLoC