Files
sta/src/infrastructure/persistence/mod.rs
Lucien Cartier-Tilet 69e212297e feat(persistence): initialize SQLite database module
- Add domain types: RelayId newtype and RepositoryError enum
- Implement SqliteRelayLabelRepository with in-memory test support
- Create relay_labels migration with SQLx compile-time verification
- Add comprehensive integration test suite (266 lines)

Ref: T006 (specs/001-modbus-relay-control)
2026-01-11 00:39:18 +01:00

8 lines
278 B
Rust

//! Persistence layer implementations.
//!
//! This module contains the concrete implementations of repository traits
//! for data persistence, including SQLite-based storage for relay labels.
/// `SQLite` repository implementation for relay labels.
pub mod sqlite_repository;