Contributing
β οΈ Notice: Deprecated Repository
suite-common-rusthas been superseded by thegtk-office-suitemonorepo (gtk-office-suite/suite-common/). New features, expanded APIs, and core enhancements should be submitted directly togtk-office-suite.
Maintenance & Fixesβ
If submitting critical maintenance fixes to this legacy repository:
Local Verificationβ
This crate provides shared GTK4 and libadwaita UI components for Rust applications.
Before running the test suite, install the stable Rust toolchain (including Cargo) and the native GTK4 and libadwaita development libraries. Follow the maintained gtk-rs platform installation guide for the required vendor packages.
To run tests locally:
cargo test
Coverage note: When GTK cannot open a display, most tests return before asserting behavior. A successful headless run therefore does not confirm the GTK helpers. Run the suite in a graphical session or with a display runner to exercise those assertions.
Commit Guidelines & DCOβ
All contributions must include a Developer Certificate of Origin (DCO) sign-off line:
git commit -s -m "docs: add details for contributor guidelines"