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

Support the sync API with tokio

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Right now the sync API needs to use async-std and cannot be used with tokio. This was originally due to some limitations in the tokio API that would require us to acquire a lock each time an operation was executed, but this no longer seems to be the case. This will allow users to avoid having to specify default-features=false when enabling the sync API, which would be a minor ergonomic win. Also, it's possible that the performance of the sync API could improve if using tokio.

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: