-
Notifications
You must be signed in to change notification settings - Fork 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
Bump defmt from 0.2.1 to 0.3 #249
Conversation
Hi, this is a breaking change - can 0.2 and 0.3 be implemented in parallel instead? |
I already checked the code in this repo and none of it is affected by the v0.3 changes. You can see them here: https://defmt.ferrous-systems.com/migration-02-03.html |
Users of this library that are still using 0.2 would see breakage, hence it is a breaking change. |
I'm not really sure how this could be achieved since dependencies can only be specified once IIUC (so we can't have a What would you propose? |
One can rename the versions of the crate, e.g. |
I'm testing here: https://github.com/japaric/heapless/tree/dual-defmt Not sure what's wrong... |
I made a cargo issue, lets see what they say rust-lang/cargo#10066 |
I think it is a |
In the end it's a |
We could say in the documentation that the |
Another idea that I lifted in the [dependencies.defmt]
version = ">=0.2,<0.4"
optional = true Seems to work, but I'm not sure of unintended consequences. |
I fixed a PR for the version range: #251 |
No description provided.