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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user