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

geo-traits: Make geo-types dependency optional #1241

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

kylebarron
Copy link
Member

@kylebarron kylebarron commented Oct 30, 2024

  • 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.

Putting this up for discussion:

Right now geo-traits only has a dependency on geo-types to

  1. add a trait bound on T for CoordNum
  2. add implementations of the traits on geo_types objects

As I was cleaning up https://github.com/kylebarron/wkb, I realized that geo-traits doesn't really need to have the CoordNum trait bound, because the consumer can require it separately.

What do people think about making the geo-types dep optional?

@michaelkirk michaelkirk added this pull request to the merge queue Oct 31, 2024
Merged via the queue into georust:main with commit ceca778 Oct 31, 2024
18 checks passed
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.

3 participants