cargo-check檢查本地套件及其所有相依項是否有錯誤。 更多資訊:https://doc.rust-lang.org/cargo/commands/cargo-check.html。
cargo {{[c|check]}}
cargo {{[c|check]}} --tests
tests/integration_test1.rs 中的整合測試:cargo {{[c|check]}} --test {{integration_test1}}
feature1 和 feature2 功能檢查當前套件:cargo {{[c|check]}} {{[-F|--features]}} {{feature1,feature2}}
cargo {{[c|check]}} --no-default-features