* in honor of Juneteenth, remove replace Master with Primary
* in honor of Juneteenth, remove replace Slave with Secondary
* add 8499 for reference about naming
* clean up deprecation warnings
* remove unsupported markdown strikethroughs...
* revert primary to master in BIND compatibility tests
* logger: missing https crate
* https: use RuntimeProvider when making connections
- [X] use RuntimeProvider when making TCP connections
- [ ] use RuntimeProvider when making TLS upgrades
- [ ] migrate tests
* RuntimeProvider::Tcp: remove async read/write
The TCP needs to Connect, the async readwriter will be in the
transport of connect. Thus we don't need it to be a requirement
on the top trait of RuntimeProvider
* AsyncResolver: remove async from new()
Related to overriding RuntimeProvider for #1074
Solves #1056
* cleanup tests
* rebase master for 0.19.5
* fix windows tests
Co-authored-by: Benjamin Fry <benjaminfry@me.com>
* Fix server to use runtime handle internally
Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
* fix extra features
Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
* fix tests
Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
* bump checkout action to v2
* fix OpenSSL build
Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
* [trust-dns-proto] Make tokio* optional
1. Move from tokio::io::{AsyncRead, AsyncWrite} to
futures::io::{AsyncRead, AsyncWrite} and provide a helper struct
Compat02As03 for the conversion.
2. Abstract tokio::time::{Delay, Timeout}.
3. Modify the other crates which are impacted by the above two changes.
* [trust-dns-proto] make fn asyn for Time trait
* [trust-dns-proto] collapse features
Collapse the features tokio-io, tokio-time into tokio-time.
* all tests updated for new background
* background in Resolver now supported, wip
* clean up client impls
* client passing all tests
* cleanup review comments, remove try_locks
* remove mutexes on NameServers in NameServerPool
* refactored ConnectionProvider
* remove pinutils dependency
* remove the now unused custom *LookupFutures
* remove unused types
* remove all deprecated interfaces from Client
* rename ClientFuture to AsyncClient
* all clippy warnings and SecureClient working
* cleanup clippy warnnings
* Everything working with Background removed
* fix infinite loop
* Client refactored without background
* rebased onto tokio 0.2
* remove Clone and Option from background connects
* cleanup from review
* fix clippy warnings
* spawn in ConnectionProvider
* fix no-default-features test
* only expose testing functions during testing
* fix copyright typo
* revert lookup_ip interface change
* limit tokio features to least required set
* rename tokio-compat to tokio-runtime
* use async fns where possible on AsyncResolver
* fix lifetime issue
* update to tokio 0.2 release
* update to h2 0.2.0
* fix compilation errors
* server await JoinHandles from spawn
* fix integration tests using different Runtimes
* cleanup named test output
* fix openssl tests
* cleanup code from review
* refactor server_future for JoinHandle, also fix Udp deadlock