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

Reexport everything from proj. #839

Merged
merged 4 commits into from
Jun 24, 2022
Merged

Reexport everything from proj. #839

merged 4 commits into from
Jun 24, 2022

Conversation

frewsxcv
Copy link
Member

@frewsxcv frewsxcv commented Jun 11, 2022

Seems like if we're going to expose proj, we might as well expose
everything. My use case is I need access to proj::ProjCreateError,
which wasn't exposed prior to this.

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

Seems like if we're going to expose `proj`, we might as well expose
everything. My use case is I need access to `proj::ProjCreateError`,
which wasn't exposed prior to this.
Copy link
Member

@michaelkirk michaelkirk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this makes sense.

The alternative is that users have to deduce which version of proj is being installed by geo, and copy that into their Cargo.toml (and then keep it in sync whenever geo changes). Instead we just "include" all of proj within geo (iff you've enabled the with-proj feature).

@frewsxcv
Copy link
Member Author

bors r=michaelkirk

@bors
Copy link
Contributor

bors bot commented Jun 24, 2022

Build succeeded:

@bors bors bot merged commit 3e178a7 into main Jun 24, 2022
@bors bors bot deleted the frewsxcv-proj branch June 24, 2022 00:28
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.

2 participants