Skip to content
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

[Trivial] Conform to snake_case for temporary crate name #69

Open
JackMordaunt opened this issue Jan 2, 2019 · 0 comments
Open

[Trivial] Conform to snake_case for temporary crate name #69

JackMordaunt opened this issue Jan 2, 2019 · 0 comments

Comments

@JackMordaunt
Copy link

When running cargo script I get this warning:

[cargo-make] INFO - Execute Command: "cargo" "script" "/var/folders/dm/hk5h5c8n0rg2cvsn67d0kjd00000gn/T/cargo-make/Yso0d56VD0.rs"
    Updating crates.io index
   Compiling Yso0d56VD0 v0.1.0 (/Users/jack/.cargo/script-cache/file-Yso0d56VD0-195512b2c76e7c26)
warning: crate `Yso0d56VD0` should have a snake case name such as `yso0d56_vd0`
  |
  = note: #[warn(non_snake_case)] on by default

I think it would be nice to silence this warning by ensuring the generated crate name is snake_case. Perhaps even just lowercase will suffice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant