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

Don't require smoltcp as a dev dependency #365

Merged
merged 2 commits into from
Nov 29, 2023
Merged

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Nov 28, 2023

My hope is that this change is enough to avoid enabling all the features in #352. We should probably try and reduce feature spaghetti around smoltcp/utils/wifi/etc. in the future.

smoltcp is already an optional dependency enabled by features, I don't think it needs to be unconditionally enabled for tests/examples

@MabezDev
Copy link
Member

I think we also need to remove the ? from these: https://github.com/esp-rs/esp-wifi/blob/07c6632116ae1be582d4ff8fc38febc757552326/esp-wifi/Cargo.toml#L116-L123 right?

With the question mark there it won't automatically enable the smoltcp dep?

@bugadani
Copy link
Contributor Author

bugadani commented Nov 28, 2023

Not sure if that's enough, I'll check later today. But thanks for the pointer!

@bugadani
Copy link
Contributor Author

With the question mark there it won't automatically enable the smoltcp dep?

smoltcp is enabled through ipv4 -> utils anyway

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM

@MabezDev MabezDev merged commit 192eb69 into esp-rs:main Nov 29, 2023
7 checks passed
@bugadani bugadani deleted the wifi branch November 29, 2023 10:44
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