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

Subdivisions #1

Closed
wants to merge 7 commits into from
Closed

Subdivisions #1

wants to merge 7 commits into from

Conversation

AD4MANTIS
Copy link
Owner

@AD4MANTIS AD4MANTIS commented Jun 8, 2024

This already has the changes from mapbox-jp#11 in it.
We can also combine them into one PR if you want.

I implemented subdivisions as their own 'Country' value. For an example i only implemented the subdivisions for US and DE.

I also refactored the code a bit in the process.

I used this command to generate the code:
python3 gen.py; rustfmt src/**/*.*

TODO

  • Should we add crate features for each subdivision, a single feature to enable subdivisions, ...?

@AD4MANTIS AD4MANTIS closed this Jun 12, 2024
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