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
But the common package name pattern (on crates.io and rest of the community) is to use hyphen-minus, like hello-world, and not underscore (hello_world).
Possible Solution(s)
Assuming that it's not intentional to use underscore (for some system compatibility reason), I think it's better to rename that like to use hyphen-minus.
What do you think?
The text was updated successfully, but these errors were encountered:
But the common package name pattern (on crates.io and rest of the community) is to use hyphen-minus, like hello-world, and not underscore (hello_world).
I don't have pure data, but a casual glance at the front page of https://crates.io/ today actually shows more underscore usage than hyphen-minus (a few crates related to swc_ecma_parser released).
Anyways this changed in #522 and this issue seems duplicate of rust-lang/book#1709. But also here's a few more hyphen-minus vs underscore issues:
Problem
In https://doc.rust-lang.org/cargo/reference/manifest.html, we have:
The same on
master
: https://github.com/rust-lang/cargo/blob/master/src/doc/src/reference/manifest.md#L12But the common package name pattern (on crates.io and rest of the community) is to use hyphen-minus, like
hello-world
, and not underscore (hello_world
).Possible Solution(s)
Assuming that it's not intentional to use underscore (for some system compatibility reason), I think it's better to rename that like to use hyphen-minus.
What do you think?
The text was updated successfully, but these errors were encountered: