#async-graphql #sqlx #shim #postgis #type #simplify

geox

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

10 releases

0.5.2 Feb 23, 2023
0.5.1 Oct 10, 2022
0.5.0 Sep 21, 2022
0.4.3 Mar 6, 2022
0.3.2 Nov 30, 2021

#31 in Geospatial

Download history 17/week @ 2022-12-01 14/week @ 2022-12-08 10/week @ 2022-12-15 5/week @ 2022-12-22 6/week @ 2022-12-29 16/week @ 2023-01-05 17/week @ 2023-01-12 19/week @ 2023-01-19 19/week @ 2023-01-26 24/week @ 2023-02-02 34/week @ 2023-02-09 67/week @ 2023-02-16 32/week @ 2023-02-23 70/week @ 2023-03-02 49/week @ 2023-03-09 76/week @ 2023-03-16

242 downloads per month

Apache-2.0 OR MIT

18KB
468 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

~3–12MB
~227K SLoC