mongo-rust-driver - PR #992: Replace `async_once` with `tokio::sync::OnceCell`

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 2.8.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

            Assignee:
            Abraham Egnor
            Reporter:
            TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: