Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wkt! macro for compile time checking of static wkt text (like serde_json::json!) #112

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

michaelkirk
Copy link
Member

  • I agree to follow the project's code of conduct.
  • I added an entry to CHANGES.md if knowledge of this change could be valuable to users.
  • I ran cargo fmt

Currently this is based on top of #110 and #109, but I can rework things if those turn out to be controversial.

This is a large breaking change to simplify the Wkt data structure.

Wkt had a single field - `item` of type `Geometry`. So everything about
a Wkt was determined by its item. In effect, Wkt was serving no purpose.
So I replaced Wkt with it's inner Geometry.
...like the serde_json::json! macro.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant