1
0
Fork 0
vaultwarden-test/src
BlackDex c453528dc1
Macro recursion decrease and other optimizations
- Decreased `recursion_limit` from 512 to 87
  Mainly done by optimizing the config macro's.
  This fixes an issue with the rust-analyzer which doesn't go beyond 128
- Removed Regex for masking sensitive values and replaced it with a map()
  This is much faster then using a Regex.
- Refactored the get_support_json macro's
- All items above also lowered the binary size and possibly compile-time
- Removed `_conn: DbConn` from several functions, these caused unnecessary database connections for functions who didn't used that at all
- Decreased json response for `/plans`
- Updated libraries and where needed some code changes
  This also fixes some rare issues with SMTP https://github.com/lettre/lettre/issues/678
- Using Rust 2021 instead of 2018
- Updated rust nightly
2021-11-06 17:44:53 +01:00
..
api Macro recursion decrease and other optimizations 2021-11-06 17:44:53 +01:00
db Macro recursion decrease and other optimizations 2021-11-06 17:44:53 +01:00
static Add email notifications for incomplete 2FA logins 2021-10-28 00:19:43 -07:00
auth.rs Macro recursion decrease and other optimizations 2021-11-06 17:44:53 +01:00
config.rs Macro recursion decrease and other optimizations 2021-11-06 17:44:53 +01:00
crypto.rs Rework file ID generation 2021-05-25 23:15:24 -07:00
error.rs Macro recursion decrease and other optimizations 2021-11-06 17:44:53 +01:00
mail.rs Macro recursion decrease and other optimizations 2021-11-06 17:44:53 +01:00
main.rs Macro recursion decrease and other optimizations 2021-11-06 17:44:53 +01:00
util.rs Macro recursion decrease and other optimizations 2021-11-06 17:44:53 +01:00