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

Flatten import structure #122

Merged
merged 1 commit into from
Dec 3, 2023

Conversation

magnusuMET
Copy link
Member

Removes visible modules (leaving types) to make the documentation clearer.

This is a breaking change and may require crate users to update their code

@lnicola
Copy link
Member

lnicola commented Dec 2, 2023

An alternative here, which might be preferred, is to keep using the nested structure, but make it private and add re-exports. Probably doesn't matter too much though.

@magnusuMET
Copy link
Member Author

@lnicola not entriely sure I understand wat you are suggesting. This change does make most modules private and only changes the public API by moving items to the top-level.

@lnicola
Copy link
Member

lnicola commented Dec 2, 2023

wat you are suggesting

Exactly what you did, sorry 😔.

@magnusuMET
Copy link
Member Author

We have the same idea for how to structure this crate, which is great! 🙂

@magnusuMET magnusuMET merged commit 5dd46eb into georust:master Dec 3, 2023
13 checks passed
@magnusuMET magnusuMET deleted the feature/flatten_imports branch December 3, 2023 19:31
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