webpki's DNSName type does full validation and normalization (lowercasing) of DNS names, which is exactly what `dns::Name` does. webpki's DNSName type considers a DNS name to be valid according to the rules for TLS certificates, which is slightly stricter than what a DNS library might otherwise allow. In anticipation of possible compatibility issues, introduce separate tls::DnsName and dns::Name names for this type. In the future, if we find that tls::DnsName is too strict for non-TLS cases, we can have these types diverge without affecting TLS validation. Signed-off-by: Brian Smith <brian@briansmith.org> |
||
---|---|---|
.. | ||
benches | ||
convert | ||
futures-mpsc-lossy | ||
router | ||
src | ||
tests | ||
Cargo.toml |