diff --git a/examples/form.rs b/examples/form.rs index 067f370..1595ee8 100644 --- a/examples/form.rs +++ b/examples/form.rs @@ -1,5 +1,8 @@ // Short example of a POST request with form data. // +// This is using the `tokio` runtime. You'll need the following dependency: +// +// `tokio = { version = "1", features = ["full"] }` #[cfg(not(target_arch = "wasm32"))] #[tokio::main] async fn main() { diff --git a/examples/json_dynamic.rs b/examples/json_dynamic.rs index 0ec47d6..d5b9136 100644 --- a/examples/json_dynamic.rs +++ b/examples/json_dynamic.rs @@ -6,7 +6,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> { let echo_json: serde_json::Value = reqwest::Client::new() diff --git a/examples/json_typed.rs b/examples/json_typed.rs index 1c769d2..17249c3 100644 --- a/examples/json_typed.rs +++ b/examples/json_typed.rs @@ -18,7 +18,7 @@ struct Post { // 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> { let new_post = Post { diff --git a/examples/simple.rs b/examples/simple.rs index cbf8d83..33a449c 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -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"] }` #[cfg(not(target_arch = "wasm32"))] #[tokio::main] async fn main() -> Result<(), reqwest::Error> { diff --git a/examples/tor_socks.rs b/examples/tor_socks.rs index 7b3985c..26532f1 100644 --- a/examples/tor_socks.rs +++ b/examples/tor_socks.rs @@ -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