[PR #2742] [MERGED] Update rand 0.9 #3279

Closed
opened 2026-03-16 11:34:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2742
Author: @oherrala
Created: 1/28/2025
Status: Merged
Merged: 1/28/2025
Merged by: @djc

Base: mainHead: rand09


📝 Commits (2)

  • da8aaec Update rand 0.9
  • 21bc0e2 Add --no-cfg-coverage-nightly to cargo llvm-cov runs

📊 Changes

12 files changed (+179 additions, -71 deletions)

View changed files

📝 Cargo.lock (+98 -17)
📝 Cargo.toml (+1 -1)
📝 crates/proto/src/dnssec/ring.rs (+4 -4)
📝 crates/proto/src/multicast/mdns_stream.rs (+5 -10)
📝 crates/proto/src/rr/domain/name.rs (+1 -4)
📝 crates/proto/src/udp/udp_client_stream.rs (+1 -4)
📝 crates/proto/src/udp/udp_stream.rs (+1 -5)
📝 crates/proto/src/xfer/dns_multiplexer.rs (+3 -6)
📝 crates/resolver/src/name_server/name_server_pool.rs (+1 -3)
📝 crates/resolver/src/name_server/name_server_stats.rs (+1 -2)
📝 fuzz/Cargo.lock (+59 -13)
📝 justfile (+4 -2)

📄 Description

Try to simplify code where changes were already required. E.g. instead of using sampling of standard distribution just call rand::random() since it does the same thing. Same goes with using rand::random_range().


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/2742 **Author:** [@oherrala](https://github.com/oherrala) **Created:** 1/28/2025 **Status:** ✅ Merged **Merged:** 1/28/2025 **Merged by:** [@djc](https://github.com/djc) **Base:** `main` ← **Head:** `rand09` --- ### 📝 Commits (2) - [`da8aaec`](https://github.com/hickory-dns/hickory-dns/commit/da8aaec9128cd0851400382cf457726fec130e02) Update rand 0.9 - [`21bc0e2`](https://github.com/hickory-dns/hickory-dns/commit/21bc0e2266743619ae0443628067f1d477f6ce48) Add --no-cfg-coverage-nightly to cargo llvm-cov runs ### 📊 Changes **12 files changed** (+179 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+98 -17) 📝 `Cargo.toml` (+1 -1) 📝 `crates/proto/src/dnssec/ring.rs` (+4 -4) 📝 `crates/proto/src/multicast/mdns_stream.rs` (+5 -10) 📝 `crates/proto/src/rr/domain/name.rs` (+1 -4) 📝 `crates/proto/src/udp/udp_client_stream.rs` (+1 -4) 📝 `crates/proto/src/udp/udp_stream.rs` (+1 -5) 📝 `crates/proto/src/xfer/dns_multiplexer.rs` (+3 -6) 📝 `crates/resolver/src/name_server/name_server_pool.rs` (+1 -3) 📝 `crates/resolver/src/name_server/name_server_stats.rs` (+1 -2) 📝 `fuzz/Cargo.lock` (+59 -13) 📝 `justfile` (+4 -2) </details> ### 📄 Description Try to simplify code where changes were already required. E.g. instead of using sampling of standard distribution just call `rand::random()` since it does the same thing. Same goes with using `rand::random_range()`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:34:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#3279
No description provided.