The database consists of a json-file protected behind an RwLock. Will almost certainly need to be changed into a real database at some point but this is good for now.
The database is generic over the stored type so can be used for storing more/other things in the future.
For better ergonomics when developing, I need to add a fallback if the database file is missing. That's why this is marked as a draft PR.
The database consists of a json-file protected behind an RwLock. Will almost certainly need to be changed into a real database at some point but this is good for now.
The database is generic over the stored type so can be used for storing more/other things in the future.
For better ergonomics when developing, I need to add a fallback if the database file is missing. That's why this is marked as a draft PR.