mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #411] [MERGED] Migrate to use tokio-timer directly #1416
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#1416
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/411
Author: @justinlatimer
Created: 4/20/2018
Status: ✅ Merged
Merged: 4/20/2018
Merged by: @bluejekyll
Base:
master← Head:tokio-timer📝 Commits (3)
540539bMigrate proto to tokio-timer.ec110a0Migrate integration-tests to tokio-timer.70bda52Migrate server to tokio-timer.📊 Changes
16 files changed (+100 additions, -124 deletions)
View changed files
📝
Cargo.lock(+3 -0)📝
integration-tests/Cargo.toml(+3 -2)📝
integration-tests/src/lib.rs(+7 -8)📝
integration-tests/tests/client_future_tests.rs(+1 -1)📝
integration-tests/tests/mdns_tests.rs(+6 -7)📝
proto/Cargo.toml(+1 -0)📝
proto/src/error.rs(+4 -0)📝
proto/src/lib.rs(+1 -0)📝
proto/src/multicast/mdns_stream.rs(+14 -20)📝
proto/src/tcp/tcp_stream.rs(+22 -36)📝
proto/src/xfer/dns_future.rs(+6 -16)📝
server/Cargo.toml(+1 -0)📝
server/src/lib.rs(+1 -1)📝
server/src/server/server_future.rs(+2 -2)📝
server/src/server/timeout_stream.rs(+26 -26)📝
server/tests/timeout_stream_tests.rs(+2 -5)📄 Description
Part of #385, Port to tokio.
The methodology to port to tokio is that library crates need to move to depending on the new sub-crates under the tokio umbrella crate, and applications should depend on the tokio crate.
I've started by migrating all usages of
tokio_core::reactor::Timeoutto direct usages oftokio_timer::Delay(or straight totokio_timer::Deadlinewhere it was obvious)(If you'd rather receive a PR that includes all of the sub-crate migrations at once, I can work on that instead)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.