rkik

Developer Guide

This guide describes the project architecture and contribution workflow, we are highly open to any contribution !!

Project Architecture

RKIK is a Rust CLI with a reusable library.

Principles

Code Layout

src/
  bin/rkik.rs        # CLI (flags, colors, formats, loops)
  lib.rs             # API re-exports
  adapters/          # DNS + rsntp
  domain/            # domain types (ProbeResult, Target, ...)
  services/          # query_one / compare_many
  fmt/               # text/json output (CLI-side)
  stats/             # Stats
  sync/              # 'sync' feature (Unix)

Async mode

Environment

rustup install stable
rustup default stable
cargo build --release

Tests

CI/CD

Contribution

  1. Fork + feature branch.
  2. Preserve the library/CLI split and the async design.
  3. Keep cargo fmt and clippy clean.
  4. Submit a PR referencing the relevant issue.