RUSTSEC-2020-0070: lock_api: Some lock_api lock guard objects can cause data races

Description

Affected versions of lock_api had unsound implementations of the Send or Sync traits for some guard objects, namely:

These guards could allow data races through types that are not safe to Send across thread boundaries in safe Rust code.

This issue was fixed by changing the trait bounds on the Mapped guard types and removing the Sync trait for the RwLock guards.

More Info

https://github.com/Amanieu/parking_lot/pull/262

Patched Versions