Files
irtt-rs/crates/irtt-proto
Nils Andreas Svee b36842ee98
Rust CI / cargo fmt (push) Successful in 13s
Rust CI / cargo clippy (push) Successful in 26s
Rust CI / cargo check (x86_64-unknown-linux-musl) (push) Failing after 12s
Rust CI / cargo check (x86_64-unknown-linux-gnu) (push) Successful in 25s
Rust CI / cargo test (x86_64-unknown-linux-gnu) (push) Successful in 44s
Rust CI / cargo test (x86_64-unknown-linux-musl) (push) Failing after 9s
Rust CI / cargo doc (push) Successful in 26s
Fuzz Smoke / cargo fuzz smoke (push) Failing after 31s
Supply chain / cargo-deny advisories (push) Successful in 7s
Supply chain / cargo-deny bans licenses sources (push) Successful in 6s
Supply chain / actionlint (push) Successful in 3s
Netem Interop / netem interop (push) Successful in 1m2s
Semver / cargo-semver-checks (push) Successful in 54s
chore(release): publish docs for irtt-proto, irtt-server, irtt-stats
Version the remaining public crates independently so their crate-specific READMEs, examples, and API doctests are represented in release history.
2026-09-25 00:32:11 +07:00
..

irtt-proto

Low-level wire encoding and decoding for the IRTT-compatible protocol: request and reply structs, flags, negotiable parameters, varint/zigzag primitives, and HMAC-MD5 packet authentication. No sockets, no runtime, no session state.

Who should use this

Most applications should not depend on this crate directly. Use irtt-client to run client sessions or irtt-server to run a server; both build on irtt-proto and provide session lifecycle, negotiation, and validated configuration on top of it.

Reach for irtt-proto directly only if you are implementing another IRTT-compatible client or server from scratch and need the raw packet layer.

Field values mirror the wire format closely rather than expressing policy: Params::decode rejects malformed input, but direct construction plus Params::encode performs no additional validation — callers are responsible for validating values before sending them.

Documentation

Full API documentation is on docs.rs/irtt-proto.

Project

Part of irtt-rs, an independent Rust implementation of an IRTT-compatible protocol stack.