Browse Source

updated rust edition to 2021

pull/3/head
Karan Gauswami 3 years ago
parent
commit
78f5aadaef
  1. 4
      Cargo.lock
  2. 6
      Cargo.toml

4
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",

6
Cargo.toml

@ -2,7 +2,7 @@
name = "sthp"
version = "0.2.0"
authors = ["Karan Gauswami <[email protected]>"]
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"
tokio = { version = "1.13", features = ["macros", "rt-multi-thread"] }
anyhow = "1.0"
Loading…
Cancel
Save