Skip to content

Make all library modules public #182

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

Merged
merged 2 commits into from
May 19, 2022
Merged

Make all library modules public #182

merged 2 commits into from
May 19, 2022

Conversation

MabezDev
Copy link
Member

@MabezDev MabezDev commented May 19, 2022

I'm trying to use espflash as library and needed to open up espflash a lil bit :D. Is there any reason not to do this?

Also snuck in a trait bound on ImageFormat to make dyn ImageFormat Sendable across threads, happy to open another PR if that's more suitable!

Edit: If this seems like a reasonable idea lmk and I'll fix the clippy issues.

@jessebraham
Copy link
Member

Yeah I can't think of any reason not to do this, fine with me. cargo-espflash is the only listed dependent on crates.io anyways 😅

@MabezDev
Copy link
Member Author

Didn't really know what to do with clippy::too_many_arguments, so I just allowed it 🤷.

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

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

All good, I'm not a fan of that rule anyways. Thanks for getting that fixed up!

@jessebraham jessebraham merged commit e055466 into master May 19, 2022
@jessebraham jessebraham deleted the feat/open-the-gates branch September 15, 2022 20:32
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