Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 1.18 KB

File metadata and controls

70 lines (47 loc) · 1.18 KB

Contributing

Thanks for helping improve mtproto.zig.

Prerequisites

  • Zig 0.16.0
  • Python 3 (for E2E harness)
  • Linux target assumptions for runtime tests

Local Workflow

git clone https://github.com/sleep3r/mtproto.zig.git
cd mtproto.zig

Format

make fmt

Unit tests

make test

E2E / integration tests

make e2e
# or
zig build e2e

Bench / soak

zig build bench
zig build soak

Pull Request Checklist

Before opening a PR:

  1. Run make fmt, make test, and make e2e.
  2. Update docs when behavior/config/CLI changes.
  3. Add or update tests for bug fixes and new behavior.
  4. Keep commits focused and explain security-sensitive changes in the PR description.

Commit Style

Conventional commits are preferred (for example: fix(proxy): ..., docs(readme): ...).

Security-Sensitive Changes

If your change affects:

  • handshake parsing
  • updater/install verification
  • secret handling
  • tunnel/routing behavior

include a short threat/risk note in the PR body and add tests where feasible.

Reporting Security Issues

Please follow SECURITY.md and use private vulnerability reporting.