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

Turn off some dependencies for library users #599

Merged
merged 12 commits into from
Feb 26, 2024

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Feb 24, 2024

In this PR I hide some code behind the serialport feature. The code was otherwise available, but not really useful without the feature. Additionally, I'm making certain dependencies optional that were only used with either cli or serialport only. Lastly, I'm moving some code (chiefly ProgressCallbacks [defined together with FlashTarget] and checksum [only used in one place]) to new locations where I believe they better belong.

@bugadani bugadani marked this pull request as ready for review February 24, 2024 11:10
@bugadani bugadani marked this pull request as draft February 24, 2024 12:00
@bugadani bugadani force-pushed the features branch 8 times, most recently from 79ae339 to 22dde0f Compare February 24, 2024 13:32
@bugadani bugadani force-pushed the features branch 3 times, most recently from 4e1bb45 to 22d38e1 Compare February 24, 2024 13:40
@bugadani
Copy link
Contributor Author

I'm going to assume that the apple error (error: failed to run custom build command for openssl-sys v0.9.101) is not my fault :)

@bugadani bugadani marked this pull request as ready for review February 24, 2024 13:51
@SergioGasquez
Copy link
Member

I'm going to assume that the apple error (error: failed to run custom build command for openssl-sys v0.9.101) is not my fault :)

Feel free to ignore it, see #597, it should now be fixed though. Thanks for the PR, will review it on Monday!

@NobodyXu
Copy link

NobodyXu commented Feb 26, 2024

cc 1.0.88 should fix this for make < 4.3

Copy link
Member

@SergioGasquez SergioGasquez left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for this polishing PR!

@SergioGasquez SergioGasquez merged commit 39e9611 into esp-rs:main Feb 26, 2024
27 of 28 checks passed
@bugadani bugadani deleted the features branch February 26, 2024 09:00
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.

3 participants