Todo CLI in Rust 3. JSON persistence, contract vs implementation
·18 mins
Third part of the series: we define the persistence contract with a generic trait, implement two adapters (in-memory and JSON to disk), and delve into the difference between interface and implementation as the axis of hexagonal architecture.