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
Please document why version 0.1.1 is yanked #13
Comments
The depenency used to be on version 0.1.0, but the pac doesn't actually compile with that version: ``` error[E0599]: no method named `as_ptr` found for struct `vcell::VolatileCell` in the current scope --> src/generic.rs:101:23 | 101 | self.register.as_ptr() | ^^^^^^ method not found in `VolatileCell<<REG as RegisterSpec>::Ux>` ``` `as_ptr` was added in version 0.1.1 of vcell, but that version is marked as yanked for unknown reasons. (japaric/vcell#13) Version 0.1.2 would have been another option, but 0.1.3 contains a fix for japaric/vcell#5 which looks important.
Version 0.1.1 removed the unused const-fn feature from Cargo.toml which technically is a breaking change. Version 0.1.2 added it back for backwards compatibility. I guess it was yanked so you don't accidentally break your code on a minor version update. |
Ok, I understand. I think yanking isn't very useful in such a situation:
Anyway, it doesn't matter now, as it's quite unlikely that somebody has a strict dependency on version 0.1.1. In fact the only reason I noticed this was because I wanted to find out what's the oldest usable version of vcell for rp2040-pac, read in the README that the required feature was added in 0.1.1, and manually added a strict dependency to that version. |
Version 0.1.1 is yanked on crates.io, but CHANGELOG.md doesn't mention a reason and still lists that version.
The text was updated successfully, but these errors were encountered: