iggy
iggy copied to clipboard
Create wrappers for rest of RwLock related structures
Like @spetz did in #242.
Hi, What are the benefits of doing this?
Hi, What are the benefits of doing this?
We can seamlessly switch between other RwLock types: https://crates.io/crates/keepcalm vs tokio RwLock vs https://crates.io/crates/peace-lock (for debugging purposes, if possible) vs https://crates.io/crates/async-lock and so on.
Currently, if you'd want to do that, you'd have to change around 60 files.
@hubcio got it, thanks!!!