dominikwilkowski / vault

An open source multi-platform password manager, written in Rust.
https://rustyvault.com/
GNU General Public License v3.0
12 stars 2 forks source link

Wholesale passing around env which contains config and db #24

Closed thewizzy closed 7 months ago

thewizzy commented 7 months ago

Changing the way we structure the config and db, having them as separate files so that it is easier to sync the vault_db. These are then put in an env struct to pass around. Moving where we had the RwLock also allowed us to have nicer function calls too.