- add BEFORE_DISCONNECT and AFTER_CONNECT to run some pragmas on connection creation and destruction - add STRICT keyword to create table statements and fix not existing DATETIME in sqlite - use env::temp_dir to get a temp directory to run the database tests against which should make this runnable on windows as well - create/update version of FileModel in database when updating it
Casket backend
Backend server for casket.
Running
cd casket-backend
cargo run
Configuration
See casket.toml for an example config file. By default, the following files are checked to exist:
./casket-backend/casket.toml/config/casket.toml
Additionally, it is possible to provide configs via environment variables. Use the prefix CASKET_.
For nested configs use two underscores to mark the place to split:
CASKET_SERVER__port=1234