#postgis #sqlx #graphql #shim #type

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

#55 in Geospatial

Download history 1/week @ 2024-02-07 15/week @ 2024-02-14 16/week @ 2024-02-21 21/week @ 2024-02-28 12/week @ 2024-03-06 3/week @ 2024-03-13 97/week @ 2024-03-20 65/week @ 2024-03-27 66/week @ 2024-04-03

235 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

~6–21MB
~287K SLoC