Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usability tweaks #397

Merged
merged 478 commits into from
Oct 3, 2024
Merged

Usability tweaks #397

merged 478 commits into from
Oct 3, 2024

Conversation

ximon18
Copy link
Member

@ximon18 ximon18 commented Oct 1, 2024

Various trait impls and other tweaks to enable more use cases.

Based on code that was originally in the xfr branch for now closed PR #335 which used these changes to implement the ZoneMaintainer.

ximon18 and others added 30 commits September 11, 2024 13:02
…ion of tsig mod KeyStore changes which is good anyway as they would have been breaking changes to stable interfaces.
- Don't pass the key store around, we  need only the signer when post-processing.
- Get tid of the mutex, we don't need it.
- Don't clone metadata when invoking a stream post-processing callback.
- Add key_wrapper() fn to ServerTransaction, ServerSequence and SigningContext to allow access to the key by its original type (which might e.g. be Arc<Key> allowing the Arc to be cloned rather than a deep copy being made).
@ximon18 ximon18 requested a review from a team October 1, 2024 10:20
@ximon18 ximon18 marked this pull request as ready for review October 1, 2024 14:38
src/tsig/mod.rs Outdated Show resolved Hide resolved
src/zonetree/update.rs Outdated Show resolved Hide resolved
src/zonetree/zone.rs Outdated Show resolved Hide resolved
@ximon18 ximon18 changed the base branch from xfr-middleware to main October 3, 2024 08:30
@partim partim merged commit 41d72b3 into main Oct 3, 2024
26 checks passed
@ximon18 ximon18 deleted the zone-tweaks branch October 3, 2024 10:53
ximon18 added a commit that referenced this pull request Oct 3, 2024
This PR adds a few trait impls and documentation.

Specifically:

* Add blanket `SendRequest` and `SendRequestMulti` impls for boxes.
* Add `Display` impl to `tsig::Key`.
* Add an `as_any` method and `Clone` and `Debug` impls to various zonetree
  types.
* Add `AsRef<dyn ZoneStore>` to `Zone`.
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.

3 participants