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

Make trust-dns-resolver optional

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

      trust-dns-resolver is a fairly heavy crate and is only used for resolving `mongodb+srv` connection strings; where users know that won't be needed they could drop the dependency if it were optional.

      Unfortunately, moving existing functionality behind an optional feature is a breaking change, so this need to wait for 3.0. When we do that, we should also use the technique from https://slint.dev/blog/rust-adding-default-cargo-feature to mean that we can do similar changes in the future without them being breaking.

            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: