-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Expyron has created PR #992: Replace `async_once` with `tokio::sync::OnceCell` in mongo-rust-driver
Issue Text:
`async_once` is unmaintained and [has been reported unsound](https://github.com/hjiayz/async_once/issues/5).
`tokio`'s `parking_lot` feature has been added in order to have access to `OnceCell::const_new()`. This is only necessary in older `tokio` versions.