Files
dcr/docs-crowdin-export/ru-RU/docs/contributing.mdx.mdx
2026-07-06 02:21:11 +08:00

52 lines
920 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
sidebar_label: Contributing
---
# Contributing
## Setup
```bash
git clone https://github.com/dexoron/dcr
cd dcr
cargo build
```
## Code style
Весь код форматируется через `cargo fmt`:
```bash
cargo fmt
```
## Линтер
```bash
cargo clippy --all-targets -- -D warnings
```
## Тесты
```bash
cargo test --all-targets
```
## PR process
1. Форкните репозиторий
2. Создайте ветку: `git checkout -b feature/description`
3. Внесите изменения
4. Запустите `cargo fmt && cargo clippy --all-targets -- -D warnings && cargo test --all-targets`
5. Откройте Pull Request
## CI
В CI запускаются:
* `cargo fmt --check`
* `cargo clippy --all-targets -- -D warnings`
* `cargo test --all-targets`
* Сборка под Linux, macOS, Windows, FreeBSD, OpenBSD, NetBSD
* Интеграционные тесты