Skip to content

Commit

Permalink
support geojson (de-)serialization (#17)
Browse files Browse the repository at this point in the history
* support geojson (de-)serialization

* check and set srid during (de-)serialization
  • Loading branch information
Plunts authored Jul 9, 2023
1 parent d33bf6b commit a970a45
Show file tree
Hide file tree
Showing 6 changed files with 775 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "postgis_diesel"
version = "2.1.0"
version = "2.2.0"
authors = ["Vitaly Merenkov <vmrnkv@gmail.com>"]
edition = "2018"
description = "An extension for Diesel framework to support PostGIS geometry datatype."
Expand All @@ -19,8 +19,9 @@ serde = { version = "1.0", optional = true, features = ["derive"] }

[dev-dependencies]
diesel = { version = "2.0", features = ["postgres"] }
dotenv = "0.15.0"
dotenvy = "0.15"
serde_json = "1.0"

[features]
serde = ["dep:serde"]
serde_geojson = ["dep:serde"]
Loading

0 comments on commit a970a45

Please sign in to comment.