Mercurial > hg
view rustfmt.toml @ 49054:5144d3579a9c
sslutil: avoid deprecation warnings from python 3.10's ssl module
Use ssl.PROTOCOL_TLS_{CLIENT,SERVER} and
SSLContext.{min,max}imum_version when supported (3.7+).
And, catch deprecation warnings when the user asks for deprecated TLS
versions (1.0 and 1.1).
Differential Revision: https://phab.mercurial-scm.org/D12488
author | Julien Cristau <jcristau@debian.org> |
---|---|
date | Sat, 09 Apr 2022 14:15:32 +0200 |
parents | 426294d06ddc |
children |
line wrap: on
line source
edition = "2018" max_width = 79 wrap_comments = true error_on_line_overflow = true