RUSTSEC-2020-0135: slock: Slock allows sending non-Send types across thread boundaries

Description

Slock<T> unconditionally implements Send/Sync.

Affected versions of this crate allows sending non-Send types to other threads, which can lead to data races and memory corruption due to the data race.

More Info

https://github.com/BrokenLamp/slock-rs/issues/2

Patched Versions