Skip to content

Conversation

@rusty1968
Copy link
Collaborator

  • Add HAL layers with strict safety guarantees:

    • hal/blocking - Blocking/synchronous HAL traits
    • hal/async - Async HAL traits
    • hal/nb - Non-blocking HAL traits
    • All HAL crates forbid unsafe code and require documentation
  • Add platform abstraction layer:

    • platform/traits - Core OS abstraction traits (empty, ready for future traits)
    • platform/impls/{linux,tock,hubris} - Platform-specific implementations
    • Enforces strict safety and documentation requirements
  • Add service layer scaffolding:

    • services/telemetry - Telemetry and monitoring service
    • services/storage - Persistent storage service
  • Remove git submodules in favor of direct dependencies when needed

The workspace follows Rust best practices with clear separation of concerns between hardware abstraction, platform abstraction, and service layers.

…tractions

- Add HAL layers with strict safety guarantees:
  * hal/blocking - Blocking/synchronous HAL traits
  * hal/async - Async HAL traits
  * hal/nb - Non-blocking HAL traits
  * All HAL crates forbid unsafe code and require documentation

- Add platform abstraction layer:
  * platform/traits - Core OS abstraction traits (empty, ready for future traits)
  * platform/impls/{linux,tock,hubris} - Platform-specific implementations
  * Enforces strict safety and documentation requirements

- Add service layer scaffolding:
  * services/telemetry - Telemetry and monitoring service
  * services/storage - Persistent storage service

- Add comprehensive build automation via cargo-xtask with precheckin validation
- Remove git submodules in favor of direct dependencies when needed

The workspace follows Rust best practices with clear separation of concerns between
hardware abstraction, platform abstraction, and service layers.
@rusty1968 rusty1968 self-assigned this Jul 24, 2025
@rusty1968 rusty1968 merged commit 128cc66 into OpenPRoT:main Jul 25, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants