From 78f5aadaef05088e93f6f13a460b349cbed546fe Mon Sep 17 00:00:00 2001 From: Karan Gauswami Date: Sun, 14 Nov 2021 14:16:59 +0530 Subject: [PATCH] updated rust edition to 2021 --- Cargo.lock | 4 ++-- Cargo.toml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index acfc01b..94d62c4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -416,9 +416,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.7.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fb2ed024293bb19f7a5dc54fe83bf86532a44c12a2bb8ba40d64a4509395ca2" +checksum = "588b2d10a336da58d877567cd8fb8a14b463e2104910f8132cd054b4b96e29ee" dependencies = [ "autocfg", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 50e4573..665478f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "sthp" version = "0.2.0" authors = ["Karan Gauswami "] -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -12,5 +12,5 @@ http = "0.2" hyper = { version = "0.14", features = ["http1", "server", "tcp"]} structopt = { version="0.3", default-features = false} tokio-socks = "0.5" -tokio = { version = "1.7", features = ["macros", "rt-multi-thread"] } -anyhow = "1.0.41" \ No newline at end of file +tokio = { version = "1.13", features = ["macros", "rt-multi-thread"] } +anyhow = "1.0" \ No newline at end of file