Vault is an actor responsible for loading or storing the fragments in the SQLite database. Currently data of fragments is not stored in database at all, it could be more elegant solution though. SQLite supports storing large blobs without having to pass all of their data at once:
fragment function implemented, it turned out that there is no need to implement FragmentIDBuilder as blake3 has similar interface already and it may be used there.
Vault is an actor responsible for loading or storing the fragments in the SQLite database. Currently data of fragments is not stored in database at all, it could be more elegant solution though. SQLite supports storing large blobs without having to pass all of their data at once:
https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.blob_open
Vault could provide the following interface (pseudocode):
and messages implementations (pseudocode):