/exgui

Experimental GUI library for Rust

Primary LanguageRustMIT LicenseMIT

exgui

Experimental GUI library for Rust

Exgui examples

To run an example, use the following command at the top of the workspace:

cargo run -p examples --bin <example_name>

Development notes

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