Skip to content

Releases: SoundMatt/rust-RCP

v0.2.0 — RELAY v1.10 §12 conformance + adapt/convert

19 Jun 18:03
2194dbe

Choose a tag to compare

What's new

RELAY v1.10 §12 CLI conformance (closes #1)

  • relay conform --strict exits 0 — all §12.1/§12.2/§12.3 checks PASS
  • version --format json: protocol, protocol_int fields added
  • capabilities: adapt: true, convert in commands list
  • status --format json: protocol field added

§11.2 convert --protocol RCP subcommand (closes #2)

  • Reads rcp.Status JSON from stdin, emits relay.Message JSON
  • Golden vector rcp-status is EQUIVALENT under relay interop
  • Exit 1 on invalid input, exit 2 on missing/wrong --protocol

FuSa / ASIL-B compliance

  • 341 requirements (added REQ-CLI-009 for convert subcommand), 100% traced
  • dFMEA artifact — 10 failure modes FM-001..FM-010 (ISO 26262 ASIL-B)
  • spec_version updated 1.6 → 1.10 across all FuSa artifacts

CI gates

  • relay-conform: relay conform --strict blocking gate
  • relay-interop: relay interop with rcp-status EQUIVALENT check
  • SBOM, FuSa, IEC 62443, coverage, fuzz — all green

v0.1.0 — Initial release

19 Jun 16:39

Choose a tag to compare

rust-RCP v0.1.0

First release of the Rust implementation of the Remote Control Protocol, RELAY spec v1.6, ISO 26262 ASIL-B, IEC 62443 SL-2.

What's included

  • 42 modules covering all automotive protocol bridges (CAN, LIN, SOME/IP, MQTT, DDS, DoIP, UDS, TSN, gRPC, REST, UDP, SHM, mDNS, TLS) and core RCP infrastructure (wire, e2e, prioqueue, ratelimit, watchdog, zonegroup, authz, federation, firmware, record, dyndata, config, codegen, observe, sim, and more)
  • 337 requirements with 100% FuSa traceability (// fusa:req + // fusa:test on every requirement)
  • 337 tests — all passing on Linux, macOS, and Windows
  • No unsafe code (#![forbid(unsafe_code)])
  • No async — synchronous blocking API with timeout: Option<Duration>
  • Inline CRC-16/CCITT-FALSE (no external crc crate)
  • 32-entry sliding replay window in e2e module
  • CRITICAL > HIGH > NORMAL priority dispatch via background thread + Condvar

CI pipeline

All 11 jobs green:

  • Lint (fmt + clippy -D warnings)
  • Tests on Ubuntu, macOS, Windows (debug + release)
  • Coverage ≥ 90% (cargo-llvm-cov)
  • FuSa gap check (all 337 reqs must have source + test annotation)
  • IEC 62443 cyber gap check (all 6 threats must have tested countermeasures)
  • RELAY spec v1.6 conformance (wire + e2e test suites)
  • Fuzz smoke — 30s wire decoder (cargo-fuzz)
  • Benchmark smoke
  • Security audit (cargo-audit / RustSec)