0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-28 00:38:23 +02:00
bitwarden_rs/src
BlackDex f906f6230a
Change String to &str for all Rocket functions
During setting the latest commit hash for Rocket and updating all the
other crates, there were some messages regarding the usage of `String`
for the Rocket endpoint function calls. I acted upon this message and
changed all `String` types to `&str` and modified the code where needed.

This ended up in less alloc calls, and probably also a bit less memory usage.

- Updated all the crates and commit hashes
- Modified all `String` to `&str` where applicable
2023-04-30 17:18:12 +02:00
..
api Change String to &str for all Rocket functions 2023-04-30 17:18:12 +02:00
db check if reset policy is enabled 2023-04-06 22:34:05 +02:00
static Fix admin post endpoints 2023-04-30 17:09:42 +02:00
auth.rs Change String to &str for all Rocket functions 2023-04-30 17:18:12 +02:00
config.rs Several config and admin interface fixes 2023-04-10 20:39:51 +02:00
crypto.rs Remove get_random_64() 2022-11-13 10:03:06 +01:00
error.rs Cleanups and Fixes for Emergency Access 2022-12-04 23:17:48 +01:00
mail.rs Change String to &str for all Rocket functions 2023-04-30 17:18:12 +02:00
main.rs Prevent some ::_ logs from outputting 2023-04-30 17:17:43 +02:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Change String to &str for all Rocket functions 2023-04-30 17:18:12 +02:00