]> git.scottworley.com Git - pluta-lesnura/commitdiff
Begin
authorScott Worley <scottworley@scottworley.com>
Thu, 13 Jul 2023 16:57:34 +0000 (09:57 -0700)
committerScott Worley <scottworley@scottworley.com>
Thu, 13 Jul 2023 17:02:46 +0000 (10:02 -0700)
On dashes vs. underscores in crate names:

The Rust Book says dashes: "$ cargo new my-project"
https://doc.rust-lang.org/book/ch07-01-packages-and-crates.html

Rust RFC 430 says underscores: "Crates: snake_case (but prefer single word)"
https://github.com/rust-lang/rfcs/blob/master/text/0430-finalizing-naming-conventions.md

Rust API Guidelines says ¯\_(ツ)_/¯: "Crates: unclear"
https://rust-lang.github.io/api-guidelines/naming.html
with a link to https://github.com/rust-lang/api-guidelines/issues/29

So I guess we're going with dashes.


No differences found