Commit Graph

179 Commits

Author SHA1 Message Date
messense
f797a11f74 Upgrade to tokio v1.0 2020-12-27 14:59:11 -08:00
Benjamin Fry
30f2b44986 upgrade proto crate to Tokio 0.3 2020-11-28 20:38:00 -08:00
Benjamin Fry
1b8f865066 Prepare 0.20.0-alpha.3 2020-10-24 20:03:22 -07:00
dependabot-preview[bot]
9dd89949a9 Bump env_logger from 0.7.1 to 0.8.1
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.7.1 to 0.8.1.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 20:15:09 +02:00
dependabot-preview[bot]
a4b8e13e8f Bump console from 0.12.0 to 0.13.0
Bumps [console](https://github.com/mitsuhiko/console) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/console/compare/v0.12.0...v0.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 09:39:58 -07:00
Dirkjan Ochtman
89f786236a make dns-over-rustls optional for tools crate
This is so we get a consistent requirement for the availability of the
`tls_config` field in the `NameServerConfig` struct.

Preserves two constraints that seem important:

* Crates are compiled without TLS by default, matching the default features
* Using cargo with --all-features works correctly
2020-10-10 15:41:22 -07:00
Dirkjan Ochtman
183526ef66 move NX trust bit from ResolverOpts to NameServerConfig 2020-09-25 19:04:22 -07:00
Benjamin Fry
f668350f58 add resolve info for the crates.io readme 2020-09-21 14:47:46 -07:00
Benjamin Fry
679865cfed add Display for resolve.rs to all RData 2020-09-20 16:20:32 -07:00
Benjamin Fry
4b36a40a2e add support for arbitrary nameservers to resolve.rs 2020-09-20 16:20:32 -07:00
Benjamin Fry
8422f17f01 add logging to resolve.rs 2020-09-20 16:20:32 -07:00
Benjamin Fry
8341c8807b improve error tracking in resolver 2020-09-20 16:20:32 -07:00
Benjamin Fry
32d17c1278 add inet type restriction and allow default nameserver choice 2020-09-20 16:20:32 -07:00
Benjamin Fry
1f0853962b initial resolve binary 2020-09-20 16:20:32 -07:00
Benjamin Fry
4af665e089 update version for 0.20.0-alpha.2 2020-09-16 16:15:10 -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
16f4e862ef rename all references to branch master to main 2020-06-19 11:12:06 -07:00
dependabot-preview[bot]
1df21715e7 Bump clap from 2.33.0 to 2.33.1
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.0 to 2.33.1.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v2.33.1/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v2.33.0...v2.33.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 13:07:25 -07:00
Benjamin Fry
aa315c13b9 bump versions to 0.20 and update Changelog 2020-05-04 15:37:35 -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]
c6a2a657ff Bump data-encoding from 2.1.2 to 2.2.0
Bumps [data-encoding](https://github.com/ia0/data-encoding) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/ia0/data-encoding/releases)
- [Commits](https://github.com/ia0/data-encoding/compare/v2.1.2...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 10:20:59 -08:00
Benjamin Fry
e7d4166162 Prepare 0.19.3 release 2020-02-15 12:47:35 -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
9918f937f0 update version to 0.18 2019-12-22 13:32:10 -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
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
c854ca5ab2 cleanup paths for coverage script run 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
dcb88d2066 Script for installing cargo make 2019-12-14 15:02:10 -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
Andreas Rottmann
5c261cb401 util: Eliminate use of extern crate
An unfortunate thing here is that `clap::app_from_crate` presumes
several other macros to be present in the scope it is used in; see
<https://github.com/clap-rs/clap/issues/1478>.
2019-12-03 11:06:05 -08:00
Benjamin Fry
94555c23c4 rename trust_dns library name to trust_dns_client 2019-10-25 15:05:07 -07:00
dependabot-preview[bot]
1d56809e57 Bump env_logger from 0.6.2 to 0.7.1
Bumps [env_logger](https://github.com/sebasmagri/env_logger) from 0.6.2 to 0.7.1.
- [Release notes](https://github.com/sebasmagri/env_logger/releases)
- [Changelog](https://github.com/sebasmagri/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebasmagri/env_logger/compare/v0.6.2...v0.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 22:14:44 -07:00
Benjamin Fry
31fbf66316 reformat all code 2019-10-17 21:59:20 -07:00
Benjamin Fry
dc00d65192 change client crate name to trust-dns-client 2019-10-17 21:59:20 -07:00
Benjamin Fry
cb4eaefc5f update all crate versions to the same 0.18 2019-10-17 21:59:20 -07:00
Benjamin Fry
c888d6aa12 udpate rustls to new std::future 2019-10-17 21:59:20 -07:00
Benjamin Fry
aaffb89dda update Changelog and bump versions for Resolver 0.12 and Client/Server 0.17 2019-08-11 21:55:41 -07:00
dependabot-preview[bot]
67e5e6653b Bump log from 0.4.7 to 0.4.8
Bumps [log](https://github.com/rust-lang/log) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-29 15:27:54 -04:00
dependabot-preview[bot]
1ef88b34cc Bump log from 0.4.6 to 0.4.7
Bumps [log](https://github.com/rust-lang/log) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.6...0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-17 21:42:32 -07:00
Bruce Mitchener
183cf01cf8 Fix typos. 2019-06-21 00:26:46 -07:00
Zack Angelo
1fb98a88d9 Introduce Unknown algorithm enum variant 2019-06-18 14:52:16 -07:00
Benjamin Fry
14f0e3df34 prepare a release of proto 0.7.4, resolver 0.11.1, client/server 0.16.1 2019-05-28 23:29:52 -07:00
Benjamin Fry
1e9872b8ad bump versions for 0.16 and 0.11 release 2019-04-14 18:48:33 -07:00
dependabot[bot]
34344b4f0f Bump clap from 2.32.0 to 2.33.0
Bumps [clap](https://github.com/clap-rs/clap) from 2.32.0 to 2.33.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-09 22:16:55 -07:00
Benjamin Fry
0b8771f79f update test certificates 2019-04-09 06:23:51 -07:00
Benjamin Fry
c90798288f update alpha versions add changelog 2019-04-06 13:27:20 -07:00
Benjamin Fry
24f2ab6baf give trust-dns a logo 2019-01-27 20:46:30 -08:00
Benjamin Fry
2a40af7a02 cs0.16 and r0.11 alpha.1 2019-01-19 14:31:46 -08:00
Benjamin Fry
370f664064 initial dynamic update insert test
- dynamic_update: test_create_multi
- dynamic_update: test_append
- dynamic_update: test_append_multi
- dynamic_update: test_compare_and_swap
- dynamic_update: test_compare_and_swap_multi
- dynamic_update: test_delete_by_rdata
- dynamic_update: test_delete_by_rdata_multi
- dynamic_update: test_delete_rrset
- dynamic_update: test_delete_all
2019-01-19 01:03:38 -08:00
Benjamin Fry
6bf0a0d8dd prepare Resolver 0.10.1 release 2018-12-17 14:04:09 -08:00
dependabot[bot]
e7a0ea4c2a Update env_logger requirement from 0.5 to 0.6 (#614)
Updates the requirements on [env_logger](https://github.com/sebasmagri/env_logger) to permit the latest version.
- [Release notes](https://github.com/sebasmagri/env_logger/releases)
- [Commits](https://github.com/sebasmagri/env_logger/commits/v0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-13 16:17:38 -08:00
Benjamin Fry
8292e9da7f
Enable clippy on stable (#603)
* add clippy to stable builds

* add clippy run to stable

* fix clippy::range-plus-one

* fix clippy::bool-comparison

* fix dead-code

* fix unused-imports

* fix clippy::needless-collect

* fix clippy::map-clone

* fix clippy::explicit-counter-loop

* fix clippy::ok-expect

* fix clippy::zero-prefixed-literal

* fix clippy::ptr-arg

* fix clippy::collapsible-if

* fix clippy::wrong_self_convention

* fix clippy::useless_format

* clippy::unneeded_field_pattern

* fix clippy::unit_arg

* fix clippy::trivially_copy_pass_by_ref

* fix clippy::suspicious_else_formatting

* fix clippy::string_lit_as_bytes

* fix clippy::single_match

* fix clippy::single_char_pattern

* fix clippy::redundant_pattern

* fix clippy::redundant_field_names

* fix clippy::redundant_closure

* fix clippy::question_mark

* fix clippy::or_fun_call

* fix clippy::op_ref

* fix clippy::new_without_default and new_without_default_derive

* fix clippy::needless_update

* fix clippy::needless_return

* fix clippy::needless_lifetimes

* fix clippy::match_ref_pats

* fix clippy::len_without_is_empty

* fix clippy::if_same_then_else

* fix clippy::if_let_redundant_pattern_matching

* fix clippy::identity_conversion

* fix clippy::filter_next

* fix clippy::expect_fun_call

* fix clippy::enum_variant_names

* fix clippy::derive_hash_xor_eq

* fix clippy::const_static_lifetime

* fix clippy::clone_on_copy

* fix clippy::clone_double_ref

* fix clippy::cast_lossless

* final list of clippy exceptions
2018-11-09 22:03:59 -08:00
Benjamin Fry
874422c6e9 prepare release of client/server 0.15 and resolver 0.10 2018-11-01 00:37:29 -07:00
Benjamin Fry
4363bfd744
Clean up directory structure of crates (#589)
* Move all public crates into crates/

Integration tests into tests/

* move test certs into tests/test-data

* fix benches

* fix compatibility tests
2018-10-22 08:22:58 -07:00
Benjamin Fry
b58638f919
bump resolver to 0.10.0-alpha.3 and client/server to 0.15.0-alpha.2 (#580) 2018-10-09 23:48:21 -07:00
Benjamin Fry
40f35ebf21
add get_root_ksk tool for pulling ksk anchors (#576)
* update root ksks

* add get_root_ksk tool for pulling ksk anchors

* dedup calculate_key_tag_internal function

* cleanup get-root-ksks to print less data
2018-10-09 23:18:39 -07:00
Benjamin Fry
38e62b25a8 prepare 0.15 and 0.10 alpha release 2018-07-22 13:34:26 -04:00
Benjamin Fry
8d7205ef34 update version references 2018-05-17 16:27:26 -07:00
Benjamin Fry
e221987200 Prepare 0.14 Client/Server and 0.9 Resolver releases 2018-05-17 16:27:26 -07:00
Benjamin Fry
21e495ceb1 switch env_logger to minor only dependency 2018-04-24 09:44:38 -07:00
dependabot[bot]
ad98fecbaa Bump env_logger from 0.5.6 to 0.5.9
Bumps [env_logger](https://github.com/sebasmagri/env_logger) from 0.5.6 to 0.5.9.
- [Release notes](https://github.com/sebasmagri/env_logger/releases)
- [Commits](https://github.com/sebasmagri/env_logger/compare/v0.5.6...v0.5.9)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-04-24 09:44:38 -07:00
Benjamin Fry
a2bb25cd7f upgrade util to openssl 0.10 2018-04-10 07:06:25 -07:00
Benjamin Fry
7473f53cc0 upgrade proto openssl to 0.10 2018-04-10 07:06:25 -07:00
Ossi Herrala
3e3eb54ec7 Update log and env_logger crates 2018-01-26 13:35:42 -08:00
Corentin Henry
f496fb7e33 add rustfmt to CI (#296)
* add jobs for rustfmt and clippy

Add two separate jobs for rustfmt and clippy. The clippy job is allowed
to fail for the moment because we still need to fix a few lints.

* add rustfmt config

* rustfmt

* allow rustfmt failures
2017-11-26 18:06:22 -08:00
Julien Cretin
e6e60bf1d8 Update data-encoding minor version
Use BASE32_DNSSEC and data-encoding-macro to define a custom hexadecimal
encoding.
2017-11-19 00:07:56 +01:00
Julien Cretin
a72e3633c1 Update data-encoding major version
Also fix unused import when some features are absent.
2017-11-05 15:17:15 +01:00
Benjamin Fry
e25b4794c3 fix all coverage report reference 2017-10-27 01:23:42 -07:00
Benjamin Fry
72d4382a8b add README referece 2017-09-26 23:29:17 -07:00
Benjamin Fry
094b835bd2 add the pem-to-public-dnskey utility 2017-09-26 23:29:17 -07:00
Brian Smith
7a7dbcaa1d Split dnskey_to_pem.rs out into its own util crate.
Move the utility programs into their own crate that complements the main
TRust-DNS crate. This will allow their dependencies to evolve separately
from the main crate. In particular, this is a step towards getting the
fully-DNSSEC-capable client working using only *ring*, because it moves
OpenSSL-specific code out of the client.
2017-09-22 20:59:15 -07:00