Updated documentation in examples (#1219)

Documentation in examples recommends using
`tokio 0.2` as dependency, while README.md
recomends `tokio 0.1`.
I've updated comments according to readme.
This commit is contained in:
kotborealis
2021-03-22 21:26:50 +03:00
committed by GitHub
parent dada01ef65
commit 29b15cb1d2
5 changed files with 7 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
// This is using the `tokio` runtime. You'll need the following dependency:
//
// `tokio = { version = "0.2", features = ["macros"] }`
// `tokio = { version = "1", features = ["full"] }`
#[tokio::main]
async fn main() -> Result<(), reqwest::Error> {
// Make sure you are running tor and this is your socks port