lib-driver provides typed client helpers for driver control IPC.
Find a file
Erik Inkinen 9f21221ded
All checks were successful
CI / test (push) Successful in 5s
CI / security (push) Successful in 1m27s
CI / minimal-versions (push) Successful in 11s
lib-driver: drop unstable rustfmt options for stable toolchains
2026-03-23 10:19:54 +02:00
.github Add initial implementation of lib-driver with CI configuration 2026-03-07 13:41:59 +02:00
src Add initial implementation of lib-driver with CI configuration 2026-03-07 13:41:59 +02:00
.editorconfig Initial commit 2026-03-07 11:22:16 +01:00
.gitignore Initial commit 2026-03-07 11:22:16 +01:00
ARCHITECTURE.md Add initial implementation of lib-driver with CI configuration 2026-03-07 13:41:59 +02:00
Cargo.toml Add initial implementation of lib-driver with CI configuration 2026-03-07 13:41:59 +02:00
CODE_OF_CONDUCT.md Initial commit 2026-03-07 11:22:16 +01:00
CONTRIBUTING.md Initial commit 2026-03-07 11:22:16 +01:00
LICENSE Initial commit 2026-03-07 11:22:16 +01:00
README.md Add initial implementation of lib-driver with CI configuration 2026-03-07 13:41:59 +02:00
ROADMAP.md Add initial implementation of lib-driver with CI configuration 2026-03-07 13:41:59 +02:00
rustfmt.toml lib-driver: drop unstable rustfmt options for stable toolchains 2026-03-23 10:19:54 +02:00
SECURITY.md docs: align security policy phase numbering 2026-03-11 05:28:12 +02:00

lib-driver

lib-driver provides typed client helpers for driver control IPC.

It is used by services that need to send start/stop commands to driver endpoints with strict request/response validation.

Responsibilities

  • Build and send typed start and stop requests.
  • Parse and validate typed driver responses.
  • Enforce request/response ID and op-id matching.
  • Keep transport integration callback-based and runtime-agnostic.

API surface

  • start(...)
  • stop(...)
  • DriverTransportResult
  • Error / Result

Design notes

  • no_std
  • no unsafe code
  • deterministic validation failures

Build and test

cargo build --all-targets --all-features
cargo test --all-targets --all-features
cargo clippy --all-targets --all-features -- -D warnings

License

ISC.