Commit Graph

209 Commits

Author SHA1 Message Date
Dirkjan Ochtman
3ba3937f2d remove response future type parameter where possible 2020-10-01 08:07:54 -07:00
Benjamin Fry
4af665e089 update version for 0.20.0-alpha.2 2020-09-16 16:15:10 -07:00
Benjamin Fry
401e068a52 bump minimum rustc version to 1.42 2020-09-16 16:15:10 -07:00
Benjamin Fry
3ead8b1779 fix regexes for beta and nightly Rust versions 2020-09-15 15:27:44 -07:00
Benjamin Fry
248fd8709b make errors generic in DnsHandle for Resolver 2020-09-15 15:27:44 -07:00
Benjamin Fry
b57b2343f0 bump trust-dns-versions to 0.20.0-alpha.1 2020-08-16 17:58:21 -07:00
Benjamin Fry
5c49fdde0e update rustls to 0.18 and tokio-rustls to 0.14 2020-08-08 17:29:29 -07:00
dependabot-preview[bot]
72aab256f1 Bump tokio from 0.2.21 to 0.2.22
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.21 to 0.2.22.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.21...tokio-0.2.22)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-08 14:07:51 -07:00
Carlos Saltos
70801722eb Minor example.toml file fix at the README files 2020-07-19 11:23:57 -07:00
dependabot-preview[bot]
80670484d3 Bump webpki-roots from 0.19.0 to 0.20.0
Bumps [webpki-roots](https://github.com/ctz/webpki-roots) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/ctz/webpki-roots/releases)
- [Commits](https://github.com/ctz/webpki-roots/compare/v/0.19.0...v/0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 16:07:57 -07:00
Benjamin Fry
303f007316
No more master slave, in honor of Juneteenth (#1141)
* 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
2020-06-20 12:59:47 -07:00
Benjamin Fry
16f4e862ef rename all references to branch master to main 2020-06-19 11:12:06 -07:00
dependabot-preview[bot]
d2fcef8a11 Bump futures from 0.3.4 to 0.3.5
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.4...0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-14 11:00:19 -07:00
Benjamin Fry
aa315c13b9 bump versions to 0.20 and update Changelog 2020-05-04 15:37:35 -07:00
Johnny Bergström
2502c58c14
use RuntimeProvider in https (#1077)
* 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>
2020-05-02 11:18:50 -07:00
Benjamin Fry
e4f736f341
Lucio franco lucio/fix server handle (#1088)
* 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>
2020-04-30 12:16:18 -07:00
Benjamin Fry
30e0f302a0 bump version to 0.19.5 2020-04-27 11:58:09 -07:00
Benjamin Fry
49a88d769d bump versions to 0.19.4, update Changelog 2020-04-11 17:06:22 -07:00
dependabot-preview[bot]
67c1f573a2 Bump tokio from 0.2.13 to 0.2.16
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.13 to 0.2.16.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.13...tokio-0.2.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 14:08:34 -07:00
Benjamin Fry
0ff7817a58 update minimum rust version to 1.40 2020-03-18 15:06:12 -07:00
Benjamin Fry
a2bba3fee0 upgrade rustlts to 0.17 and tokio-rustls to 0.12 2020-02-28 02:25:20 -08:00
Benjamin Fry
e7d4166162 Prepare 0.19.3 release 2020-02-15 12:47:35 -08:00
dependabot-preview[bot]
21bfd01653 Bump tokio from 0.2.9 to 0.2.11
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.9 to 0.2.11.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.9...tokio-0.2.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-14 16:08:45 -08:00
dependabot-preview[bot]
66c36e7348 Bump webpki-roots from 0.18.0 to 0.19.0
Bumps [webpki-roots](https://github.com/ctz/webpki-roots) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/ctz/webpki-roots/releases)
- [Commits](https://github.com/ctz/webpki-roots/compare/v/0.18.0...v/0.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 16:00:54 -08:00
dependabot-preview[bot]
9470ee1413 Bump futures from 0.3.1 to 0.3.4
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.1 to 0.3.4.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.1...0.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 15:59:45 -08:00
dependabot-preview[bot]
184493db4c Bump regex from 1.3.3 to 1.3.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.3.3...1.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 15:38:40 -08:00
Antony Lesage
b25ab622af
Remove unused futures default features (#1003)
* Remove unused `futures` default features

* Fix tests
2020-02-01 06:22:15 -08:00
Benjamin Fry
eb077cfb68 bump version to 0.19.2 2020-01-16 20:00:06 -08:00
Benjamin Fry
2316acd253 bump version to 0.19.1 2020-01-16 08:55:47 -08:00
Benjamin Fry
eeb27a822c prepare 0.19 release 2020-01-14 11:08:27 -08:00
Benjamin Fry
47ce53bf5d Bump versions to 0.18.1 2020-01-04 18:52:59 -08:00
Benjamin Fry
dfd424734b update some readmes 2019-12-22 13:32:10 -08:00
Benjamin Fry
4661220c52 rename SecureClient et al to Dnssec (more accurate) 2019-12-22 13:32:10 -08:00
Benjamin Fry
9918f937f0 update version to 0.18 2019-12-22 13:32:10 -08:00
Benjamin Fry
00a6f5c758 fix tokio deprecation 2019-12-19 13:11:39 -08:00
Benjamin Fry
d5cd859626 allow any 0.4 version of log 2019-12-19 13:11:39 -08:00
Benjamin Fry
c4be29c200 cargo-with multi-exec 2019-12-19 13:11:39 -08:00
Benjamin Fry
5dc53cd4da use cargo-with for test coverage 2019-12-19 13:11:39 -08:00
chunyingw
93cf1db18b Abstract tokio (#960)
* [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.
2019-12-19 08:42:43 -08:00
dependabot-preview[bot]
ba68b22f42 Bump log from 0.4.8 to 0.4.10
Bumps [log](https://github.com/rust-lang/log) from 0.4.8 to 0.4.10.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 13:04:00 -08:00
Benjamin Fry
a4fc571070 only cache deps 2019-12-15 23:23:34 -08:00
Benjamin Fry
c854ca5ab2 cleanup paths for coverage script run 2019-12-15 14:02:29 -08:00
Benjamin Fry
29a447e32b make named tests more resilient, split out tcp_port 2019-12-15 14:02:29 -08:00
Benjamin Fry
f1bd65e9ea remove travis references 2019-12-15 14:02:29 -08:00
Benjamin Fry
4e91786388 get ready to publish 0.18.0-alpha.3 2019-12-14 17:10:35 -08:00
Benjamin Fry
99d8851f65 refactor tests to pull ports from named startup 2019-12-14 15:02:10 -08:00
Benjamin Fry
b6f30098bd fix sqlite tests on windows 2019-12-14 15:02:10 -08:00
Benjamin Fry
1277ebe812 fix dns-over-https build in named 2019-12-14 15:02:10 -08:00
Benjamin Fry
dcb88d2066 Script for installing cargo make 2019-12-14 15:02:10 -08:00
Benjamin Fry
224bde6561
Background with generic spawn (#935)
* 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
2019-12-11 17:43:02 -08:00
Benjamin Fry
cd7ffa5885
prepare 0.18-alpha.2 (#945)
* prepare 0.18-alpha.2

* sleep between publishes to let crates.io catch up
2019-12-06 08:47:09 -08:00
Benjamin Fry
3eaf3043d7
update to tokio 0.2 release (#932)
* 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
2019-12-06 00:00:00 -08:00
Benjamin Fry
bac20472f4 enforce better code hygiene irt debug statements 2019-11-11 07:42:38 -08:00
Benjamin Fry
dd99c7b8b9
switch default Rust back to stable, add min version check (#912)
* switch default Rust back to stable, add min version check

* enforce formatting

* switch windows back to stable

* fix fmt diff from nightly
2019-11-07 15:01:08 -08:00
Benjamin Fry
13e2ebc637 fixup clippy runs 2019-11-04 07:51:26 -08:00
Benjamin Fry
53db2b2ce4 fix build breakage in benchmarks 2019-10-26 19:04:54 -07:00
ziprandom
c3180ab064 remove NameServerConfigGroup.set_tls_client_config, add with_client_config 2019-10-25 21:21:54 -07:00
Benjamin Fry
65be09b5ff cleanup toml dependencies between server and bin 2019-10-25 15:05:07 -07:00
Benjamin Fry
30f6254deb move named to trust-dns bin crate 2019-10-25 15:05:07 -07:00