Sign up form and other stuff
[recipes.git] / backend / src / consts.rs
1
2 pub const FILE_CONF: &str = "conf.ron";
3 pub const DB_DIRECTORY: &str = "data";
4 pub const DB_FILENAME: &str = "recipes.sqlite";
5 pub const SQL_FILENAME: &str = "sql/version_{VERSION}.sql";
6 pub const VALIDATION_TOKEN_DURATION: i64 = 1 * 60 * 60; // 1 hour. [s].