You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the suggestion! There are enough crates that use either hyphen or underscore though that I think it's good to get people used to checking which a crate uses. Eventually, I hope that it shouldn't make a difference.
I found that some of the Cargo packages in this book have dashes (
-
) in their names while others are having underscores (_
).hello_cargo
guessing_game
my-project
add-one
hello_macro
,hello_macro_derive
I think dashes are generally preferable over underscores for Cargo package today, so we might want to use dashes for all these packages?
"Is it good practice to call crates “hello-world”, “hello_world” or does it not matter?"
The text was updated successfully, but these errors were encountered: