-
Notifications
You must be signed in to change notification settings - Fork 0
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
Naming consistency between PAC and HAL crates #3
Comments
I've transferred this issue to our new meta repository which is meant for this sort of discussion. As you might have guessed the current naming scheme came about more or less by accident; I made the At the moment (but see #2) the HALs are more or less autonomous; being in the stm32-rs org is mostly for convenience and some limited amount of bus factor, so there's no central group who could say "OK, we're renaming all the HAL crates". On the other hand, each individual HAL crate could readily move to a new name and perhaps enough stm32-rs members would support the idea to make it happen. From a practical point of view I don't think it would be too hard to do a rename; you could imagine having one last release in the old name with a big notice to move to the new name and a deprecation warning, and release a compatible new crate with the same minor version. The recent RTFM to RTIC rename could be a good example. However, I also don't know that it would necessarily be worth the effort -- users basically need either the PAC or the HAL, since once you're using the HAL you already have the PAC available from Anyway, I don't run any of the HAL crates, so these are basically some thoughts on the idea; the actual HAL maintainers are the people to listen to. |
I'm not sure if this is the right place to post, as this concerns many of the stm32-rs projects and not just this one. It has bothered me for a while that the PAC crate is named
stm32f1
while the HAL crate is namedstm32f1xx-hal
. You have to remember that the HAL crates have the extraxx
on the end. Would it be possible to make this consistent? Either addxx
to the PAC crates or, which is my preference, remove it from the HAL crates. Then the naming scheme is simply that you add-hal
to a PAC crate to get the corresponding HAL crate.The text was updated successfully, but these errors were encountered: