Skip to content

Commit

Permalink
update Cargo.toml for fixing about snake_name convention
Browse files Browse the repository at this point in the history
change rcsvRogue -> rcsv_rogue to fix warning
  • Loading branch information
rcsv committed Mar 14, 2019
1 parent 81deb72 commit ee9e2da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ license = "MIT"


[lib]
name = "rcsvRogue"
name = "rcsv_rogue"
path = "src/lib.rs"

[[bin]]
name = "rcsvRogue"
name = "rcsv_rogue"
path = "src/main.rs"

[features]
Expand Down

1 comment on commit ee9e2da

@rcsv
Copy link
Owner

@rcsv rcsv commented on ee9e2da Mar 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cargo build / cargo run で出ていたパッケージ名が命名規則に準拠していないことによる、警告の解消。

Cargo.toml の .bin.name を snake_case に変更した。
下記 URL で対処方法がやっとわかった。

rust-lang/rust#45127

Please sign in to comment.