]> git.scottworley.com Git - pluta-lesnura/commit - .gitignore
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)
commit754e97300990e3e7d3e4bfd305f3e90b677751c2
tree99ec490e97504c1a5a00fae661d6743665a45c32
Begin

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.
.gitignore [new file with mode: 0644]
Cargo.toml [new file with mode: 0644]
src/lib.rs [new file with mode: 0644]