Skip to content

v0.3.0

Latest

Choose a tag to compare

@sakost sakost released this 28 Feb 14:20

What's New

InMemoryStorage for testing

Added public InMemoryStorage type — a thread-safe in-memory storage backend for unit and integration tests. No file I/O required:

use zenmoney_rs::storage::InMemoryStorage;
use zenmoney_rs::zen_money::ZenMoneyBlocking;

let storage = InMemoryStorage::new();
let client = ZenMoneyBlocking::builder()
    .token("test-token")
    .storage(storage)
    .build()
    .unwrap();

Test coverage

Achieved 95%+ line coverage with comprehensive tests across all storage backends, CLI commands, and client logic.

Full Changelog: v0.2.0...v0.3.0