Description
To check the project, use the following command:
cargo check --all-features --all-targets
To run all tests, use the following command:
cargo test --all-features --all-targets
To check and perform formatting, use the following commands:
cargo +nightly fmt -- --check
cargo +nightly fmt
To enable autoformatting for IntelliJ IDEA with the Rust plugin:
File -> Settings -> Languages & Frameworks -> Rust -> Rustfmt, check "Run rustfmt on Save"
To run clippy, use the following command:
cargo clippy --all-targets --all-features -- -D warnings
To setup git hook, use the following command:
cp .git-pre-push.sh .git/hooks/pre-push