Clippy 1.67 (#127)

* tokio-rustls: specify rust-version as 1.56 as required by rustls 0.20.7

* tokio-rustls: apply clippy lints for 1.67
This commit is contained in:
Dirkjan Ochtman 2023-01-28 22:10:27 +01:00 committed by GitHub
parent df272e9958
commit 27ec4a3f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,7 @@ readme = "README.md"
description = "Asynchronous TLS/SSL streams for Tokio using Rustls."
categories = ["asynchronous", "cryptography", "network-programming"]
edition = "2018"
rust-version = "1.56"
[dependencies]
tokio = "1.0"

View File

@ -3,10 +3,11 @@ name = "client"
version = "0.1.0"
authors = ["quininer <quininer@live.com>"]
edition = "2018"
rust-version = "1.56"
[dependencies]
tokio = { version = "1.0", features = [ "full" ] }
argh = "0.1"
tokio-rustls = { path = "../.." }
webpki-roots = "0.22"
rustls-pemfile = "0.2"
rustls-pemfile = "0.2"

View File

@ -3,9 +3,10 @@ name = "server"
version = "0.1.0"
authors = ["quininer <quininer@live.com>"]
edition = "2018"
rust-version = "1.56"
[dependencies]
tokio = { version = "1.0", features = [ "full" ] }
argh = "0.1"
tokio-rustls = { path = "../.." }
rustls-pemfile = "0.2.1"
rustls-pemfile = "0.2.1"