Вклад
Настройка
git clone https://github.com/dexoron/dcr
# or a source mirror: GitVerse / SourceCraft / SourceForge / GitLab (see README)
cd dcr
cargo build Стиль написания кода
Весь код форматируется через cargo fmt:
формат груза Линтер
cargo clippy --all-targets -- -D warnings Тесты
тест cargo --all-targets Процесс связей с общественностью
- Форкните репозиторий
- Создайте ветку:
git checkout -b feature/description - Внесите изменения
- Запустите
cargo fmt && cargo clippy --all-targets -- -D warnings && cargo test --all-targets - Откройте Pull Request
CI
CI runs (see .github/workflows/ci.yml):
cargo fmt --checkcargo clippy(default +--all-features)cargo check --all-targets --all-features- Unit + integration tests on Linux, macOS, Windows
- Extra Linux job with
--features archive(FAT images) - Tools on runners: clang, nasm, clang-format/tidy (Linux)