Skip to content

Conversation

@hatoo
Copy link
Owner

@hatoo hatoo commented May 6, 2025

No description provided.

@hatoo hatoo requested a review from Copilot May 6, 2025 06:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates dependency versions and adapts the code to work with the new API of hickory_resolver.

  • Revised resolver instantiation in src/lib.rs and src/client.rs using the new builder pattern.
  • Updated dependency versions in Cargo.toml (e.g., average, rand, hickory-resolver, rusqlite, jsonschema).
  • Adjusted error conversion in the ClientError enum to align with the change in hickory_resolver error types.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/lib.rs Modified resolver initialization to use the new builder API.
src/client.rs Updated resolver type and error conversion; changed default setup.
Cargo.toml Upgraded dependency versions to support new API features.
Comments suppressed due to low confidence (1)

src/client.rs:134

  • The error conversion now uses hickory_resolver::ResolveError (instead of hickory_resolver::error::ResolveError); please confirm that this change is intentional and that consumers of this API are updated accordingly.
ResolveError(#[from] Box<hickory_resolver::ResolveError>),

@hatoo hatoo merged commit 65a77cb into master May 6, 2025
18 checks passed
@hatoo hatoo deleted the update-deps branch June 21, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants