-
Notifications
You must be signed in to change notification settings - Fork 251
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
bt-hci dependency pulled when enabling defmt feature #3038
Comments
This is a cargo quirk - Cargo.lock may contain optional dependencies even if they are not activated. |
Ok, but this is not without consequences, I can see different behavior when bt-hci is present in Cargo.lock, even if I am not using bluetooth and |
What difference in behavior can you see? |
First of all, the executable is different, and second, the ESP output this line at start: |
You are enabling logging, why would you expect the executable to remain unchanged?
The error code is 0x3002, which is |
Makes sense |
Bug description
When
defmt
feature ofesp-wifi
crate is enabled,bt-hci
is added to Cargo.lock even thoughble
feature is not enabled.To Reproduce
Add
esp-wifi
withble
feature disabled anddefmt
enabled.Expected behavior
bt-hci
dependency should not be added ifble
feature is disabled.Environment
The text was updated successfully, but these errors were encountered: