pub const TLS_VERSIONS: &[&SupportedProtocolVersion];Expand description
The TLS versions this project offers, named rather than defaulted.
docs/12’s row is “TLS 1.3 (RFC 8446), no legacy downgrade” and rustls’s safe defaults are 1.2
and 1.3, so a client built with them accepts exactly the downgrade the row says there is none
of — which is what it did until this constant existed.
Public, and read by beck-cli’s fetch.rs, because there are two clients — a program’s
outbound call and the compiler’s own fetch — and a version list written twice is a version list
that can differ. One decision, and a_peer_that_speaks_only_tls_1_2_is_refused below is the
handshake that holds it.