rustのcreateのメモ
cargo edit
https://crates.io/crates/cargo-edit
cargo install cargo-edit
- こちらが使えるようになる
- carog.tmolいじらなくて済む
cargo add cargo rm cargo upgrade
clippy
- 所謂linter
https://github.com/rust-lang/rust-clippy
rustup component add clippy
cargo fix
- editionを更新する場合は以下のオプション
cargo fix --edition