Show HN: Tinykv – Minimal file-backed key-value store for Rust

crates.io

19 points by hasanyildiz 13 hours ago

I built tinykv because I kept reaching for simple persistent storage in Rust projects but found existing solutions either too complex (sled) or unmaintained (pickledb).

tinykv focuses on simplicity: JSON-based, serde-powered, with optional TTL. Perfect for CLI tools, game saves, config storage.

Would appreciate any feedback from the HN community!

WaxProlix 11 hours ago

Maybe a replacement for sqlite in some contexts if it's even lighter? What does tinykv do better than the current standard for file backed lightweight DB?

porridgeraisin 5 hours ago

I love `dbm` in python for this usecase. It supports a handful of backends, including sqlite.