Skip to content

Commit

Permalink
Clippy 1.67 (hyperium#127)
Browse files Browse the repository at this point in the history
* tokio-rustls: specify rust-version as 1.56 as required by rustls 0.20.7

* tokio-rustls: apply clippy lints for 1.67
  • Loading branch information
djc authored Jan 28, 2023
1 parent df272e9 commit 27ec4a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions tokio-rustls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion tokio-rustls/examples/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 2 additions & 1 deletion tokio-rustls/examples/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 27ec4a3

Please sign in to comment.