prepare 0.21.1 release

This commit is contained in:
Benjamin Fry 2022-02-27 18:52:45 -08:00
parent 312b8ab6d6
commit 7e4f9b2661
16 changed files with 159 additions and 50 deletions

View File

@ -5,6 +5,12 @@ This project adheres to [Semantic Versioning](https://semver.org/).
All notes should be prepended with the location of the change, e.g. `(proto)` or `(resolver)`.
## 0.21.1
### Fixed
- (util) fixed feature build issue in `resolve` #1649
## 0.21.0
### Added

26
Cargo.lock generated
View File

@ -173,7 +173,7 @@ dependencies = [
[[package]]
name = "async-std-resolver"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"async-std",
"async-trait",
@ -1594,7 +1594,7 @@ dependencies = [
[[package]]
name = "trust-dns"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"clap",
"env_logger",
@ -1614,7 +1614,7 @@ dependencies = [
[[package]]
name = "trust-dns-client"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"cfg-if",
"data-encoding",
@ -1638,7 +1638,7 @@ dependencies = [
[[package]]
name = "trust-dns-compatibility"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"data-encoding",
"env_logger",
@ -1651,14 +1651,14 @@ dependencies = [
[[package]]
name = "trust-dns-https"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"trust-dns-proto",
]
[[package]]
name = "trust-dns-integration"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"async-trait",
"env_logger",
@ -1680,21 +1680,21 @@ dependencies = [
[[package]]
name = "trust-dns-native-tls"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"trust-dns-proto",
]
[[package]]
name = "trust-dns-openssl"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"trust-dns-proto",
]
[[package]]
name = "trust-dns-proto"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"async-trait",
"backtrace",
@ -1737,7 +1737,7 @@ dependencies = [
[[package]]
name = "trust-dns-resolver"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"cfg-if",
"env_logger",
@ -1763,14 +1763,14 @@ dependencies = [
[[package]]
name = "trust-dns-rustls"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"trust-dns-proto",
]
[[package]]
name = "trust-dns-server"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"async-trait",
"bytes",
@ -1799,7 +1799,7 @@ dependencies = [
[[package]]
name = "trust-dns-util"
version = "0.21.0"
version = "0.21.1"
dependencies = [
"clap",
"console",

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -77,14 +77,14 @@ log = "0.4"
rustls = { version = "0.20", optional = true }
time = "0.3"
tokio = { version = "1.0", features = ["time"] }
trust-dns-client = { version = "0.21.0", path = "../crates/client" }
trust-dns-proto = { version = "0.21.0", path = "../crates/proto" }
trust-dns-server = { version = "0.21.0", path = "../crates/server" }
trust-dns-client = { version = "0.21.1", path = "../crates/client" }
trust-dns-proto = { version = "0.21.1", path = "../crates/proto" }
trust-dns-server = { version = "0.21.1", path = "../crates/server" }
[dev-dependencies]
env_logger = "0.9"
native-tls = "0.2"
regex = "1.3.4"
trust-dns-proto = { version = "0.21.0", path = "../crates/proto", features = ["testing", "dns-over-native-tls"] }
trust-dns-resolver = { version = "0.21.0", path = "../crates/resolver" }
trust-dns-proto = { version = "0.21.1", path = "../crates/proto", features = ["testing", "dns-over-native-tls"] }
trust-dns-resolver = { version = "0.21.1", path = "../crates/resolver" }
webpki-roots = "0.22.1"

View File

@ -1,6 +1,6 @@
[package]
name = "async-std-resolver"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -69,9 +69,9 @@ async-trait = "0.1.43"
futures-io = { version = "0.3.5", default-features = false, features = ["std"] }
futures-util = { version = "0.3.5", default-features = false, features = ["std"] }
pin-utils = "0.1.0"
trust-dns-resolver = { version = "0.21.0", path = "../resolver", default-features = false }
trust-dns-resolver = { version = "0.21.1", path = "../resolver", default-features = false }
socket2 = "0.4.2"
[dev-dependencies]
async-std = { version = "1.6", features = ["attributes"] }
trust-dns-resolver = { version = "0.21.0", path = "../resolver", default-features = false, features = ["testing"] }
trust-dns-resolver = { version = "0.21.1", path = "../resolver", default-features = false, features = ["testing"] }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-client"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -82,7 +82,7 @@ serde = { version = "1.0", features = ["derive"], optional = true }
thiserror = "1.0.20"
time = "0.3"
tokio = { version = "1.0", features = ["rt"] }
trust-dns-proto = { version = "0.21.0", path = "../proto"}
trust-dns-proto = { version = "0.21.1", path = "../proto"}
webpki = { version = "0.22.0", optional = true }
[dev-dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-https"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -47,4 +47,4 @@ name = "trust_dns_https"
path = "src/lib.rs"
[dependencies]
trust-dns-proto = { version = "0.21.0", path = "../proto", features = ["tokio-runtime", "dns-over-https-rustls"], default-features = false }
trust-dns-proto = { version = "0.21.1", path = "../proto", features = ["tokio-runtime", "dns-over-https-rustls"], default-features = false }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-native-tls"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -47,4 +47,4 @@ name = "trust_dns_native_tls"
path = "src/lib.rs"
[dependencies]
trust-dns-proto = { version = "0.21.0", path = "../proto", features = ["tokio-runtime", "dns-over-native-tls"], default-features = false }
trust-dns-proto = { version = "0.21.1", path = "../proto", features = ["tokio-runtime", "dns-over-native-tls"], default-features = false }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-openssl"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -47,4 +47,4 @@ name = "trust_dns_openssl"
path = "src/lib.rs"
[dependencies]
trust-dns-proto = { version = "0.21.0", path = "../proto", features = ["dns-over-openssl"] }
trust-dns-proto = { version = "0.21.1", path = "../proto", features = ["dns-over-openssl"] }

View File

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

103
crates/recursor/Cargo.toml Normal file
View File

@ -0,0 +1,103 @@
[package]
name = "trust-dns-recursor"
version = "0.21.1-alpha.5"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2021"
# A short blurb about the package. This is not rendered in any format when
# uploaded to crates.io (aka this is not markdown)
description = """
Trust-DNS is a safe and secure DNS recursive resolver with DNSSec support.
Trust-DNS is based on the Tokio and Futures libraries, which means
it should be easily integrated into other software that also use those
libraries. This library can be used as in the server and binary for performing recursive lookups.
"""
# These URLs point to more information about the repository
documentation = "https://docs.rs/trust-dns-recursor"
homepage = "http://www.trust-dns.org/index.html"
repository = "https://github.com/bluejekyll/trust-dns"
# This points to a file in the repository (relative to this Cargo.toml). The
# contents of this file are stored and indexed in the registry.
readme = "README.md"
# This is a small list of keywords used to categorize and search for this
# package.
keywords = ["DNS", "BIND", "dig", "named", "dnssec"]
categories = ["network-programming"]
# This is a string description of the license for this package. Currently
# crates.io will validate the license provided against a whitelist of known
# license identifiers from http://spdx.org/licenses/. Multiple licenses can
# be separated with a `/`
license = "MIT/Apache-2.0"
[badges]
#github-actions = { repository = "bluejekyll/trust-dns", branch = "main", workflow = "test" }
codecov = { repository = "bluejekyll/trust-dns", branch = "main", service = "github" }
maintenance = { status = "actively-developed" }
[features]
backtrace = ["trust-dns-proto/backtrace"]
dnssec-openssl = ["dnssec", "openssl", "trust-dns-proto/dnssec-openssl", "trust-dns-resolver/dnssec-openssl"]
dnssec-ring = ["dnssec", "trust-dns-proto/dnssec-ring", "trust-dns-resolver/dnssec-ring"]
dnssec = []
sqlite = ["rusqlite"]
# TODO: Need to figure out how to be consistent with ring/openssl usage...
# dns-over-https-openssl = ["dns-over-openssl", "trust-dns-client/dns-over-https-openssl", "dns-over-https"]
dns-over-https-rustls = ["dns-over-https", "trust-dns-proto/dns-over-https-rustls", "trust-dns-resolver/dns-over-https-rustls", "dns-over-rustls", "tokio-rustls"]
dns-over-https = ["h2", "http", "trust-dns-proto/dns-over-https"]
# TODO: migrate all tls and tls-openssl features to dns-over-tls, et al
dns-over-openssl = ["dns-over-tls", "dnssec-openssl", "trust-dns-proto/dns-over-openssl", "tokio-openssl", "trust-dns-resolver/dns-over-openssl"]
dns-over-rustls = ["dns-over-tls", "dnssec-ring", "rustls", "trust-dns-proto/dns-over-rustls", "trust-dns-resolver/dns-over-rustls", "tokio-rustls"]
dns-over-tls = []
# This is a deprecated feature...
tls-openssl = ["dns-over-openssl"]
tls = ["dns-over-openssl"]
# WARNING: there is a bug in the mutual tls auth code at the moment see issue #100
# mtls = ["trust-dns-client/mtls"]
testing = []
[lib]
name = "trust_dns_recursor"
path = "src/lib.rs"
[dependencies]
async-trait = "0.1.43"
backtrace = { version = "0.3.50", optional = true }
bytes = "1"
cfg-if = "1"
enum-as-inner = "0.3"
env_logger = "0.9"
futures-executor = { version = "0.3.5", default-features = false, features = ["std"] }
futures-util = { version = "0.3.5", default-features = false, features = ["std"] }
h2 = { version = "0.3.0", features = ["stream"], optional = true }
http = { version = "0.2", optional = true }
log = "0.4"
openssl = { version = "0.10", features = ["v102", "v110"], optional = true }
rusqlite = { version = "0.26.1", features = ["bundled", "time"], optional = true }
rustls = { version = "0.20", optional = true }
serde = { version = "1.0.114", features = ["derive"] }
thiserror = "1.0.20"
time = "0.3"
tokio = { version = "1.0", features = ["net"] }
tokio-openssl = { version = "0.6.0", optional = true }
tokio-rustls = { version = "0.23.0", optional = true }
toml = "0.5"
trust-dns-proto = { version = "0.21.1-alpha.5", path = "../proto" }
trust-dns-resolver = { version = "0.21.1-alpha.5", path = "../resolver", features = ["serde-config"]}
[dev-dependencies]
tokio = { version="1.0", features = ["macros", "rt"] }
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-apple-darwin", "x86_64-pc-windows-msvc"]
rustdoc-args = ["--cfg", "docsrs"]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-resolver"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -82,7 +82,7 @@ tokio = { version = "1.0", optional = true }
tokio-native-tls = { version = "0.3", optional = true }
tokio-openssl = { version = "0.6.0", optional = true }
tokio-rustls = { version = "0.23.0", optional = true }
trust-dns-proto = { version = "0.21.0", path = "../proto", default-features = false }
trust-dns-proto = { version = "0.21.1", path = "../proto", default-features = false }
webpki-roots = { version = "0.22.1", optional = true }
[target.'cfg(windows)'.dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-rustls"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -47,4 +47,4 @@ name = "trust_dns_rustls"
path = "src/lib.rs"
[dependencies]
trust-dns-proto = { version = "0.21.0", path = "../proto", features = ["tokio-runtime", "dns-over-rustls"], default-features = false }
trust-dns-proto = { version = "0.21.1", path = "../proto", features = ["tokio-runtime", "dns-over-rustls"], default-features = false }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-server"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -93,9 +93,9 @@ tokio = { version = "1.0", features = ["net"] }
tokio-openssl = { version = "0.6.0", optional = true }
tokio-rustls = { version = "0.23.0", optional = true }
toml = "0.5"
trust-dns-client= { version = "0.21.0", path = "../client" }
trust-dns-proto = { version = "0.21.0", path = "../proto" }
trust-dns-resolver = { version = "0.21.0", path = "../resolver", features = ["serde-config"], optional = true }
trust-dns-client= { version = "0.21.1", path = "../client" }
trust-dns-proto = { version = "0.21.1", path = "../proto" }
trust-dns-resolver = { version = "0.21.1", path = "../resolver", features = ["serde-config"], optional = true }
[dev-dependencies]
tokio = { version="1.0", features = ["macros", "rt"] }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-compatibility"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -52,4 +52,4 @@ futures = "0.3.5"
openssl = { version = "0.10", features = ["v102", "v110"] }
rand = "0.8"
time = "0.3"
trust-dns-client= { version = "0.21.0", path="../../crates/client", features = ["dnssec-openssl"] }
trust-dns-client= { version = "0.21.1", path="../../crates/client", features = ["dnssec-openssl"] }

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-integration"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -80,11 +80,11 @@ rusqlite = { version = "0.26.0", features = ["bundled"], optional = true }
rustls = "0.20"
time = "0.3"
tokio = { version = "1.0", features = ["time", "rt"] }
trust-dns-client= { version = "0.21.0", path = "../../crates/client" }
trust-dns-proto = { version = "0.21.0", path = "../../crates/proto", features = ["testing"] }
trust-dns-resolver = { version = "0.21.0", path = "../../crates/resolver" }
trust-dns-client= { version = "0.21.1", path = "../../crates/client" }
trust-dns-proto = { version = "0.21.1", path = "../../crates/proto", features = ["testing"] }
trust-dns-resolver = { version = "0.21.1", path = "../../crates/resolver" }
# TODO: fixup tests to not require openssl
trust-dns-server = { version = "0.21.0", path = "../../crates/server", features = ["testing"] }
trust-dns-server = { version = "0.21.1", path = "../../crates/server", features = ["testing"] }
webpki-roots = { version = "0.21", optional = true }
[dev-dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "trust-dns-util"
version = "0.21.0"
version = "0.21.1"
authors = ["Benjamin Fry <benjaminfry@me.com>"]
edition = "2018"
@ -68,9 +68,9 @@ clap = { version = "3.1", default-features = false, features = ["std", "cargo",
console = "0.15.0"
data-encoding = "2.2.0"
env_logger = { version = "0.9.0", features = ["termcolor", "humantime", "atty"] }
trust-dns-client = { version = "0.21.0", path = "../crates/client" }
trust-dns-proto = { version = "0.21.0", path = "../crates/proto" }
trust-dns-resolver = { version = "0.21.0", path = "../crates/resolver" }
trust-dns-client = { version = "0.21.1", path = "../crates/client" }
trust-dns-proto = { version = "0.21.1", path = "../crates/proto" }
trust-dns-resolver = { version = "0.21.1", path = "../crates/resolver" }
log = "0.4"
openssl = { version = "0.10", features = ["v102", "v110"], optional = true }
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }