Experimental GUI library for Rust
To run an example, use the following command at the top of the workspace:
cargo run -p examples --bin <example_name>To check the project, use the following command:
cargo check --all-features --all-targetsTo run all tests, use the following command:
cargo test --all-features --all-targetsTo check and perform formatting, use the following commands:
cargo +nightly fmt -- --check
cargo +nightly fmtTo 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 warningsTo setup git hook, use the following command:
cp .git-pre-push.sh .git/hooks/pre-push