mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-03 08:01:40 +00:00
* feat(persistence): copy over directory functions from beetle * feat: add snapshot type that deals with persistence * test(persistence): add property based tests for db persistence * feat(persistence): basic persistence works * Make provider cloneable * refactor: provider is getting to big, so give it its own submodule and put database in there. * clippy * fix: disable persistence in cli tests * refactor: make the snapshot stuff just pub(crate) so we don't bloat the public API * fix: properly handle when iroh data dir does not exist yet Also fix mixup of dir names * fix: persist key in iroh data root if persistence is on * pr: remove unused dev dependency and dead code annotation * test: add basic test for persistence * pr: remove key and persist options it will now always persist. Also fix the test by not mixing sync and async.