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 a prelude #5

Closed
jamwaffles opened this issue Mar 19, 2018 · 1 comment
Closed

Add a prelude #5

jamwaffles opened this issue Mar 19, 2018 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@jamwaffles
Copy link
Collaborator

There are quite a few TODOs scattered around the codebase about adding various items to a prelude to make using the crate easier. Should be easy to add a few things so that people can just add use ssd1306::prelude::*.

@jamwaffles jamwaffles added enhancement New feature or request good first issue Good for newcomers labels Mar 19, 2018
@jamwaffles jamwaffles added this to the Release 0.1 milestone Mar 21, 2018
@jamwaffles
Copy link
Collaborator Author

So, thinking about this a bit more, I don't think a prelude is necessary. A prelude is for stuff that is indirectly required but a pain to import. Looking at all the demo code, the imports are things that are required anyway and shouldn't be hidden away behind a prelude::*.

This was referenced Apr 8, 2018
@jamwaffles jamwaffles reopened this Apr 30, 2018
@jamwaffles jamwaffles mentioned this issue Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant