update Changelog and bump versions for Resolver 0.12 and Client/Server 0.17

This commit is contained in:
Benjamin Fry 2019-08-11 17:25:52 -07:00
parent 725f5ac360
commit aaffb89dda
15 changed files with 104 additions and 79 deletions

View File

@ -3,6 +3,27 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.17.0
### Added
- (all) Licenses copied into all crates #832 (@divinerapier)
- `UdpSocket` for compatibility with Tokio, when not using non-Tokio executors #824 (@chunyingw)
- `Connect` for Tcp connection compatibility with Tokio, when not using non-Tokio executors #794 (@chunyingw)
### Changes
- *breaking* (client) TcpClientConnect requires generic stream param #794 (@chunyingw)
- *breaking* (client) UdpClientStream requires generic socket param #824 (@chunyingw)
- *breaking* (proto) UdpStream and UdpClientStream requires generic socket #824 (@chunyingw)
- *breaking* (proto) TcpStream and TcpClientStream require generic stream param #794 (@chunyingw)
- Algorithm::from_u8 is now infallible #800 (@zackangelo)
- Algorithm::hash_len now returns Option #800 (@zackangelo)
### Removed
- `byteorder` dep dropped in favor of `std` implementations #844 (@lukaslueg)
## 0.16.1
- disables the `socket2/reuseport` feature except when `mdns` is enabled

78
Cargo.lock generated
View File

@ -1375,7 +1375,7 @@ dependencies = [
[[package]]
name = "trust-dns"
version = "0.16.1"
version = "0.17.0"
dependencies = [
"chrono 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
"data-encoding 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1393,8 +1393,8 @@ dependencies = [
"tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns-https 0.3.4",
"trust-dns-proto 0.7.5",
"trust-dns-https 0.4.0",
"trust-dns-proto 0.8.0",
"webpki 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
@ -1408,12 +1408,12 @@ dependencies = [
"futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
"openssl 0.10.24 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns 0.16.1",
"trust-dns 0.17.0",
]
[[package]]
name = "trust-dns-https"
version = "0.3.4"
version = "0.4.0"
dependencies = [
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
"data-encoding 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1429,8 +1429,8 @@ dependencies = [
"tokio-reactor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-rustls 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns-proto 0.7.5",
"trust-dns-rustls 0.6.4",
"trust-dns-proto 0.8.0",
"trust-dns-rustls 0.7.0",
"typed-headers 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"webpki 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)",
"webpki-roots 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1453,43 +1453,43 @@ dependencies = [
"tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-timer 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns 0.16.1",
"trust-dns-https 0.3.4",
"trust-dns-openssl 0.6.3",
"trust-dns-proto 0.7.5",
"trust-dns-resolver 0.11.1",
"trust-dns-rustls 0.6.4",
"trust-dns-server 0.16.1",
"trust-dns 0.17.0",
"trust-dns-https 0.4.0",
"trust-dns-openssl 0.7.0",
"trust-dns-proto 0.8.0",
"trust-dns-resolver 0.12.0",
"trust-dns-rustls 0.7.0",
"trust-dns-server 0.17.0",
"webpki-roots 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "trust-dns-native-tls"
version = "0.6.3"
version = "0.7.0"
dependencies = [
"futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
"native-tls 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-tls 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns-proto 0.7.5",
"trust-dns-proto 0.8.0",
]
[[package]]
name = "trust-dns-openssl"
version = "0.6.3"
version = "0.7.0"
dependencies = [
"futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
"openssl 0.10.24 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-openssl 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns-proto 0.7.5",
"trust-dns-proto 0.8.0",
]
[[package]]
name = "trust-dns-proto"
version = "0.7.5"
version = "0.8.0"
dependencies = [
"data-encoding 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"enum-as-inner 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1517,7 +1517,7 @@ dependencies = [
[[package]]
name = "trust-dns-resolver"
version = "0.11.1"
version = "0.12.0"
dependencies = [
"cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
"env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1536,17 +1536,17 @@ dependencies = [
"tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns-https 0.3.4",
"trust-dns-native-tls 0.6.3",
"trust-dns-openssl 0.6.3",
"trust-dns-proto 0.7.5",
"trust-dns-rustls 0.6.4",
"trust-dns-https 0.4.0",
"trust-dns-native-tls 0.7.0",
"trust-dns-openssl 0.7.0",
"trust-dns-proto 0.8.0",
"trust-dns-rustls 0.7.0",
"webpki-roots 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "trust-dns-rustls"
version = "0.6.4"
version = "0.7.0"
dependencies = [
"futures 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1555,13 +1555,13 @@ dependencies = [
"tokio 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-rustls 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns-proto 0.7.5",
"trust-dns-proto 0.8.0",
"webpki 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "trust-dns-server"
version = "0.16.1"
version = "0.17.0"
dependencies = [
"backtrace 0.3.34 (registry+https://github.com/rust-lang/crates.io-index)",
"bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1592,27 +1592,27 @@ dependencies = [
"tokio-tls 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"toml 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns 0.16.1",
"trust-dns-https 0.3.4",
"trust-dns-native-tls 0.6.3",
"trust-dns-openssl 0.6.3",
"trust-dns-proto 0.7.5",
"trust-dns-resolver 0.11.1",
"trust-dns-rustls 0.6.4",
"trust-dns 0.17.0",
"trust-dns-https 0.4.0",
"trust-dns-native-tls 0.7.0",
"trust-dns-openssl 0.7.0",
"trust-dns-proto 0.8.0",
"trust-dns-resolver 0.12.0",
"trust-dns-rustls 0.7.0",
]
[[package]]
name = "trust-dns-util"
version = "0.4.3"
version = "0.5.0"
dependencies = [
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"data-encoding 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
"openssl 0.10.24 (registry+https://github.com/rust-lang/crates.io-index)",
"trust-dns 0.16.1",
"trust-dns-proto 0.7.5",
"trust-dns-resolver 0.11.1",
"trust-dns 0.17.0",
"trust-dns-proto 0.8.0",
"trust-dns-resolver 0.12.0",
]
[[package]]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns"
version = "0.16.1"
version = "0.17.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
# A short blurb about the package. This is not rendered in any format when
@ -80,8 +80,8 @@ serde = { version = "1.0", features = ["derive"], optional = true }
tokio = "^0.1.22"
tokio-tcp = "^0.1"
tokio-udp = "^0.1"
trust-dns-https = {version = "0.3.0", path = "../https", optional = true }
trust-dns-proto = {version = "0.7.5", path = "../proto", features = ["dnssec"]}
trust-dns-https = {version = "0.4.0", path = "../https", optional = true }
trust-dns-proto = {version = "0.8.0", path = "../proto", features = ["dnssec"]}
webpki = { version = "0.21", optional = true }
[dev-dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-https"
version = "0.3.4"
version = "0.4.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
# A short blurb about the package. This is not rendered in any format when
@ -57,8 +57,8 @@ tokio-reactor = "0.1"
tokio-rustls = "0.10"
tokio-tcp = "0.1"
# disables default features, i.e. openssl...
trust-dns-proto = { version = "0.7.5", path = "../proto", features = ["tokio-compat"], default-features = false }
trust-dns-rustls = { version = "0.6.0", path = "../rustls", default-features = false }
trust-dns-proto = { version = "0.8.0", path = "../proto", features = ["tokio-compat"], default-features = false }
trust-dns-rustls = { version = "0.7.0", path = "../rustls", default-features = false }
typed-headers = "0.1"
webpki-roots = { version = "0.17" }
webpki = "0.21"

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-native-tls"
version = "0.6.3"
version = "0.7.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
# A short blurb about the package. This is not rendered in any format when
@ -49,7 +49,7 @@ native-tls = "0.2"
tokio-tcp = "0.1"
tokio-tls = "0.2"
# disables default features, i.e. openssl...
trust-dns-proto = { version = "0.7.5", path = "../proto", features = ["tokio-compat"], default-features = false }
trust-dns-proto = { version = "0.8.0", path = "../proto", features = ["tokio-compat"], default-features = false }
[dev-dependencies]
tokio = "0.1.22"

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-openssl"
version = "0.6.3"
version = "0.7.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
# A short blurb about the package. This is not rendered in any format when
@ -46,7 +46,7 @@ futures = "0.1.28"
openssl = { version = "0.10", features = ["v102", "v110"] }
tokio-openssl = "0.3"
tokio-tcp = "0.1"
trust-dns-proto = { version = "0.7.5", path = "../proto", features = ["openssl"] }
trust-dns-proto = { version = "0.8.0", path = "../proto", features = ["openssl"] }
[dev-dependencies]
openssl = { version = "0.10", features = ["v102", "v110"] }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-proto"
version = "0.7.5"
version = "0.8.0"
edition = "2018"
authors = ["Benjamin Fry <benjaminfry@me.com>"]

View File

@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## 0.12.0
- Internal updates related to generification of executors
## 0.11.1
- disables the `socket2/reuseport` feature except when `mdns` is enabled

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-resolver"
version = "0.11.1"
version = "0.12.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
# A short blurb about the package. This is not rendered in any format when
@ -73,11 +73,11 @@ tokio = { version = "^0.1.22", optional = true }
tokio-executor = "^0.1.8"
tokio-tcp = "^0.1"
tokio-udp = "^0.1"
trust-dns-https = { version = "0.3.0", path = "../https", optional = true }
trust-dns-native-tls = { version = "0.6.0", path = "../native-tls", optional = true }
trust-dns-openssl = { version = "0.6.0", path = "../openssl", optional = true }
trust-dns-proto = { version = "0.7.5", path = "../proto" }
trust-dns-rustls = { version = "0.6.0", path = "../rustls", optional = true }
trust-dns-https = { version = "0.4.0", path = "../https", optional = true }
trust-dns-native-tls = { version = "0.7.0", path = "../native-tls", optional = true }
trust-dns-openssl = { version = "0.7.0", path = "../openssl", optional = true }
trust-dns-proto = { version = "0.8.0", path = "../proto" }
trust-dns-rustls = { version = "0.7.0", path = "../rustls", optional = true }
webpki-roots = { version = "^0.17", optional = true }
[target.'cfg(windows)'.dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-rustls"
version = "0.6.4"
version = "0.7.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
# A short blurb about the package. This is not rendered in any format when
@ -50,7 +50,7 @@ rustls = "0.16"
tokio-rustls = "0.10"
tokio-tcp = "^0.1"
# disables default features, i.e. openssl...
trust-dns-proto = { version = "0.7.5", path = "../proto", features = ["tokio-compat"], default-features = false }
trust-dns-proto = { version = "0.8.0", path = "../proto", features = ["tokio-compat"], default-features = false }
webpki = "0.21"
[dev-dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-server"
version = "0.16.1"
version = "0.17.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
# A short blurb about the package. This is not rendered in any format when
@ -99,14 +99,14 @@ tokio-tcp = "0.1"
tokio-timer = "0.2.10"
tokio-udp = "0.1"
toml = "0.5"
trust-dns = { version = "0.16.0", path = "../client" }
trust-dns-https = { version = "0.3.0", path = "../https", optional = true }
trust-dns-proto = { version = "0.7.5", path = "../proto" }
trust-dns-openssl = { version = "0.6.0", path = "../openssl", optional = true }
trust-dns-resolver = { version = "0.11.0", path = "../resolver", features = ["serde-config"], optional = true }
trust-dns-rustls = { version = "0.6.0", path = "../rustls", optional = true }
trust-dns = { version = "0.17.0", path = "../client" }
trust-dns-https = { version = "0.4.0", path = "../https", optional = true }
trust-dns-proto = { version = "0.8.0", path = "../proto" }
trust-dns-openssl = { version = "0.7.0", path = "../openssl", optional = true }
trust-dns-resolver = { version = "0.12.0", path = "../resolver", features = ["serde-config"], optional = true }
trust-dns-rustls = { version = "0.7.0", path = "../rustls", optional = true }
[dev-dependencies]
native-tls = "0.2"
trust-dns-native-tls = { version = "0.6.0", path = "../native-tls" }
trust-dns-native-tls = { version = "0.7.0", path = "../native-tls" }
tokio-tls = "0.2"

View File

@ -25,7 +25,7 @@ use futures::Future;
use test::Bencher;
use tokio::runtime::current_thread::Runtime;
use tokio_tcp::TcpStream;
use tokio_tcp::UdpSocket;
use tokio_udp::UdpSocket;
use trust_dns::client::*;
use trust_dns::op::*;

View File

@ -50,4 +50,4 @@ env_logger = "0.6"
futures = "^0.1.28"
openssl = { version = "^0.10", features = ["v102", "v110"] }
rand = "0.7"
trust-dns = { version = "0.16.0", path="../../crates/client", features = ["dnssec-openssl"] }
trust-dns = { version = "0.17.0", path="../../crates/client", features = ["dnssec-openssl"] }

View File

@ -77,12 +77,12 @@ tokio = "0.1.22"
tokio-tcp = "0.1"
tokio-timer = "0.2.10"
tokio-udp = "0.1"
trust-dns = { version = "0.16.0", path = "../../crates/client" }
trust-dns-https = { version = "0.3.0", path = "../../crates/https" }
trust-dns-openssl = { version = "0.6.0", path = "../../crates/openssl" }
trust-dns-proto = { version = "0.7.3", path = "../../crates/proto" }
trust-dns-resolver = { version = "0.11.0", path = "../../crates/resolver" }
trust-dns-rustls = { version = "0.6.0", path = "../../crates/rustls" }
trust-dns = { version = "0.17.0", path = "../../crates/client" }
trust-dns-https = { version = "0.4.0", path = "../../crates/https" }
trust-dns-openssl = { version = "0.7.0", path = "../../crates/openssl" }
trust-dns-proto = { version = "0.8.0", path = "../../crates/proto" }
trust-dns-resolver = { version = "0.12.0", path = "../../crates/resolver" }
trust-dns-rustls = { version = "0.7.0", path = "../../crates/rustls" }
# TODO: fixup tests to not require openssl
trust-dns-server = { version = "0.16.0", path = "../../crates/server" }
trust-dns-server = { version = "0.17.0", path = "../../crates/server" }
webpki-roots = { version = "0.17", optional = true }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-util"
version = "0.4.3"
version = "0.5.0"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
# A short blurb about the package. This is not rendered in any format when
@ -49,9 +49,9 @@ path = "src/pem_to_public_dnskey.rs"
[dependencies]
clap = "2.33.0"
data-encoding = "2.1.0"
trust-dns = { version = "0.16.0", features = ["dnssec-openssl"], path = "../crates/client" }
trust-dns-proto = { version = "0.7.3", features = ["dnssec-openssl"], path = "../crates/proto" }
trust-dns-resolver = { version = "0.11.0", features = ["dnssec-openssl"], path = "../crates/resolver" }
trust-dns = { version = "0.17.0", features = ["dnssec-openssl"], path = "../crates/client" }
trust-dns-proto = { version = "0.8.0", features = ["dnssec-openssl"], path = "../crates/proto" }
trust-dns-resolver = { version = "0.12.0", features = ["dnssec-openssl"], path = "../crates/resolver" }
env_logger = "0.6"
log = "0.4.8"
openssl = { version = "0.10", features = ["v102", "v110"] }