Any contribution is welcome. However, please follow the following rules:
Open pull request for any change.
If you are fixing an existing issue or implementing a feature request, please refer to the issue number in the pull request.
Please write a clear description for your pull request, so that we can understand your change easily.
Signing off your commit is not required, but it is recommended.
Run the following test before opening a pull request. GitHub Actions will automatically run the following test for you if you open a pull request, but if any test failed, we will not merge your pull request.
# cargo check
cargo check
# cargo clippy for frontend
cargo clippy --all-targets --all-features -- -D warnings
# cargo clippy for backend
cd src-tauri
cargo clippy --all-targets --all-features -- -D warnings
cd ..
# cargo clippy for clip struct
cd src-clip
cargo clippy --all-targets --all-features -- -D warnings
cd ..
# cargo clippy for logging
cd tauri-plugin-logging
cargo clippy --all-targets --all-features -- -D warnings
cd ..
# try to build the app
cargo tauri build
# cargo fmt
cargo fmt --all -- --check
Please write documentation for your code.
If your async
function tries to lock a mutex,
please state it in the documentation.