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

add auto derive for serde #125

Merged
merged 4 commits into from
Jul 12, 2017
Merged

add auto derive for serde #125

merged 4 commits into from
Jul 12, 2017

Conversation

etrombly
Copy link
Contributor

I'm using rust-geo to parse a shapefile into country borders. I do this in the build.rs then include_bytes the resulting struct into the binary. Thought other people might be able to use a similar tactic. Example at https://github.com/etrombly/country_parser/blob/master/src/build.rs

@frewsxcv
Copy link
Member

Seems alright to me! This could live behind a feature flag (maybe enabled by default) but not a big deal

@frewsxcv frewsxcv merged commit e1171e0 into georust:master Jul 12, 2017
@etrombly etrombly deleted the serialize branch July 12, 2017 06:36
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