0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

[Rust] Cargoコマンド集

Posted at

Cargo コマンド

プロジェクトの作成

cargo new <project>

ビルド

cargo build

ビルドと実行

cargo run

リリースビルド

cargo build --release

ビルド可能かの確認

cargo check

ドキュメントの生成

cargo doc

テストの実行

cargo test

パッケージのアップデート

cargo update

パッケージの追加

cargo add <package>

パッケージの削除

cargo rm <package>

パッケージのアップデート

cargo upgrade <package>

パッケージのアップデート

cargo outdated

全てのパッケージのアップデート

cargo install-update -a
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?