You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plus, well, the examples as well as any code that worked with 0.3.0, doesn't compile anymore. It is impossible to get any geometry types out of a postgres database without this trait being implemented.
The text was updated successfully, but these errors were encountered:
Sorry for the issue. I had the postgres crate defined expicitly in my Cargo.toml - in which it still was set to "0.13.0". Setting it to "0.14.0" fixed the issue. I will probably remove this entry in the future to always stay updated.
The example doesn't work anymore (it worked a few weeks ago). It seems that the 0.4.0 version is missing the FromSQL trait for basically any type.
I just get errors a la:
the trait "graphics::renderer::postgres::types::FromSql" is not implemented for "types::osm_tuple::postgis::ewkb::Point"
I noticed that the 0.3.0 version had postgres::FromSql implemented: https://docs.rs/postgis/0.3.0/postgis/ewkb/struct.Point.html
The 0.4.0 has it too, but there seems to be something wrong - the trait isn't marked violet, as usual: https://docs.rs/postgis/0.4.0/postgis/ewkb/struct.Point.html
Plus, well, the examples as well as any code that worked with 0.3.0, doesn't compile anymore. It is impossible to get any geometry types out of a postgres database without this trait being implemented.
The text was updated successfully, but these errors were encountered: