pjson_rs/infrastructure/repositories/memory.rs
1//! In-memory repository implementations
2
3use std::collections::HashMap;
4
5/// Memory-based storage placeholder
6pub struct MemoryRepository {
7 _data: HashMap<String, Vec<u8>>,
8}
9
10impl MemoryRepository {
11 pub fn new() -> Self {
12 Self {
13 _data: HashMap::new(),
14 }
15 }
16}
17
18impl Default for MemoryRepository {
19 fn default() -> Self {
20 Self::new()
21 }
22}