Files
Floris Bruynooghe 2b4de030ce feat(iroh-dns): Deprecate old nameserver builders (#4506)
## Description

This deprecates the old nameserver config builders in favour of the
new ones that are more consistent.

## API Changes

- `iroh_dns::dns::Builder::with_nameserver` -> `add_nameserver`
- `iroh_dns::dns::Builder::with_nameservers` -> `add_nameservers`

The `iroh_dns::dns` module is also re-exported as  `iroh::dns`.

## Notes & open questions

- min-crates fails because it needs to select n0-dns-resolver which is
not yet 3 days old.
- I had to bump the version of iroh-dns to make the semver CI check
happy.

## Change checklist

- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [x] Tests if relevant.
- [x] All breaking changes documented.
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
2026-09-04 15:25:23 +00:00
..