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

Don't re-export types from unstable dependencies

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • bson-2.0.0-beta, 2.0.0-beta
    • Affects Version/s: None
    • Component/s: None
    • None

      In the driver's ErrorKind, we include variants that wrap errors from our dependencies, some of which are pre-1.0 and unstable. This means that if those dependencies make breaking changes to those error types, we will be unable to update the version that we depend on without a breaking change in the driver too. We should audit our API for places that we re-export unstable dependencies and replace them with stable types / types we control to avoid getting into a situation like that.

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

              Created:
              Updated:
              Resolved: