Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1731

Revisit async runtime support

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None

      Supporting both tokio and async-std adds substantial internal complication to the driver for little concrete benefit.  The Rust community has overwhelmingly shown preference for the tokio runtime (the tokio crate as of this writing has 14,460 dependent crates, where the async-std crate has 1,477; downloads show the same tokio 10x increase over async-std), and in the worst case where a customer is using async-std for the rest of their app it's easy to spin up a parallel tokio runtime for the mongodb driver.

            Assignee:
            abraham.egnor@mongodb.com Abraham Egnor
            Reporter:
            abraham.egnor@mongodb.com Abraham Egnor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: