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

Swap from `time::PreciseTime` to `std::time::Instant`

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0-alpha.1
    • Affects Version/s: None
    • Component/s: None
    • None

      Currently, we use PreciseTime from the time crate internally for keeping track of various timings inside the driver. However, newer versions of the time crate have deprecated PreciseTime in favor of the name Instant, and an Instant type is now exported from the standard library. There isn't any functionality we need specifically from the time crate, so we should switch to std::time::Instant.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: