chibiauth/src
Aydin Mercan 986d668209
server: don't use parking_lot explicitly anymore
As of Rust 1.62, standard locks will recieve a massive performance
improvement (speed and memory footprint) on Linux.

parking_lot seems to be still be better [1] for the ordinary usecase
but I will still remove it preemptively for 2 reasons:

1. The application isn't still usable, I don't have any benchmarks where
   parking_lot is needed because of critical locks causing a noticable
   bottleneck. (I doubt it will be case anyway)

2. Having a smaller explicit dependency chain is good for
   maintainability. (Don't take this too far as to reduce usability
   though)

Tokio still uses parking_lot by default in itself.
Maybe I'll get rid of it after bumping MSRV to 1.62.

[1]: https://twitter.com/m_ou_se/status/1526220580361490438
2022-05-31 11:46:47 +03:00
..
controller main: draft layout for subcommands & identity 2022-05-27 10:48:32 +03:00
engine main: draft layout for subcommands & identity 2022-05-27 10:48:32 +03:00
database.rs main: draft layout for subcommands & identity 2022-05-27 10:48:32 +03:00
main.rs server: don't use parking_lot explicitly anymore 2022-05-31 11:46:47 +03:00
server.rs main: draft layout for subcommands & identity 2022-05-27 10:48:32 +03:00