Commit 128cc66
committed
feat: Implement modular workspace structure with HAL and platform abstractions
- 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.1 parent 9fe5bb9 commit 128cc66
File tree
24 files changed
+280
-12
lines changed- external
- hal
- async
- src
- blocking
- src
- nb
- src
- platform
- impls
- hubris
- src
- linux
- src
- tock
- src
- traits
- src
- services
- storage
- src
- telemetry
- src
24 files changed
+280
-12
lines changedThis file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
7 | 16 | | |
8 | 17 | | |
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments