[PR #1569] [MERGED] Remove Chrono dependency #2426

Closed
opened 2026-03-16 08:53:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1569
Author: @bluejekyll
Created: 10/24/2021
Status: Merged
Merged: 10/28/2021
Merged by: @bluejekyll

Base: mainHead: remove-chrono-dep


📝 Commits (4)

  • ff25850 Remove Chrono dependency
  • ca84acd fix rust 1.56 clippy warnings
  • c185a7a bump minimum version of Rust to 1.51
  • b038c5c prefer std::time::Duration

📊 Changes

31 files changed (+103 additions, -115 deletions)

View changed files

📝 .github/workflows/test.yml (+1 -1)
📝 Cargo.lock (+18 -43)
📝 README.md (+2 -1)
📝 bin/Cargo.toml (+1 -1)
📝 bin/README.md (+1 -1)
📝 crates/async-std-resolver/README.md (+1 -1)
📝 crates/client/Cargo.toml (+1 -1)
📝 crates/client/README.md (+1 -1)
📝 crates/client/src/lib.rs (+3 -2)
📝 crates/client/src/rr/dnssec/signer.rs (+3 -2)
📝 crates/https/README.md (+1 -1)
📝 crates/native-tls/README.md (+1 -1)
📝 crates/openssl/README.md (+1 -1)
📝 crates/proto/README.md (+1 -1)
📝 crates/resolver/README.md (+1 -1)
📝 crates/resolver/src/dns_lru.rs (+2 -4)
📝 crates/rustls/README.md (+1 -1)
📝 crates/server/Cargo.toml (+2 -2)
📝 crates/server/README.md (+1 -1)
📝 crates/server/src/config/dnssec.rs (+11 -2)

...and 11 more files

📄 Description

Due to https://github.com/chronotope/chrono/issues/602, chrono looks to be unmaintained. So removing that dependency and using the time crate directly.

Closes: #1574


🔄 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/1569 **Author:** [@bluejekyll](https://github.com/bluejekyll) **Created:** 10/24/2021 **Status:** ✅ Merged **Merged:** 10/28/2021 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `remove-chrono-dep` --- ### 📝 Commits (4) - [`ff25850`](https://github.com/hickory-dns/hickory-dns/commit/ff258500d1543196ba44c3350d0f4f1a678b3f0c) Remove Chrono dependency - [`ca84acd`](https://github.com/hickory-dns/hickory-dns/commit/ca84acdece3bbb4bda69dcf808ec1f1a4a167c45) fix rust 1.56 clippy warnings - [`c185a7a`](https://github.com/hickory-dns/hickory-dns/commit/c185a7a144ef791f99660523eb468ab2f8090330) bump minimum version of Rust to 1.51 - [`b038c5c`](https://github.com/hickory-dns/hickory-dns/commit/b038c5c35f234fcff913262001def4a0732a2632) prefer std::time::Duration ### 📊 Changes **31 files changed** (+103 additions, -115 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test.yml` (+1 -1) 📝 `Cargo.lock` (+18 -43) 📝 `README.md` (+2 -1) 📝 `bin/Cargo.toml` (+1 -1) 📝 `bin/README.md` (+1 -1) 📝 `crates/async-std-resolver/README.md` (+1 -1) 📝 `crates/client/Cargo.toml` (+1 -1) 📝 `crates/client/README.md` (+1 -1) 📝 `crates/client/src/lib.rs` (+3 -2) 📝 `crates/client/src/rr/dnssec/signer.rs` (+3 -2) 📝 `crates/https/README.md` (+1 -1) 📝 `crates/native-tls/README.md` (+1 -1) 📝 `crates/openssl/README.md` (+1 -1) 📝 `crates/proto/README.md` (+1 -1) 📝 `crates/resolver/README.md` (+1 -1) 📝 `crates/resolver/src/dns_lru.rs` (+2 -4) 📝 `crates/rustls/README.md` (+1 -1) 📝 `crates/server/Cargo.toml` (+2 -2) 📝 `crates/server/README.md` (+1 -1) 📝 `crates/server/src/config/dnssec.rs` (+11 -2) _...and 11 more files_ </details> ### 📄 Description Due to https://github.com/chronotope/chrono/issues/602, chrono looks to be unmaintained. So removing that dependency and using the time crate directly. Closes: #1574 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 08:53:17 +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#2426
No description provided.