Re-exports
pub use anyhow;
pub use lazy_static;
pub use smol;
pub use sqlez;
pub use sqlez_macros;
Modules
Macros
- Implements a basic DB wrapper for a given domain
- Unindent and produce
&'static str
.
Structs
Functions
- Open or create a database at the given directory path. This will retry a couple times if there are failures. If opening fails once, the db directory is moved to a backup folder and a new one is created. If that fails, a shared in memory db is created. In either case, static variables are set so that the user can be notified.