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

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

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: