From cce72ed41b94dea10d3e28537d5071a8ca08eaba Mon Sep 17 00:00:00 2001 From: Edgar Date: Fri, 8 Jan 2021 16:06:25 +0100 Subject: [PATCH] fix readme and test --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 33aeb14..2c44d88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,5 +23,5 @@ log = "0.4.11" bytes = "1.0.0" [dev-dependencies] -tokio = { version = "1.0.1", features = ["macros", "rt"] } +tokio = { version = "1.0.1", features = ["macros", "rt-multi-thread"] } dotenv = "0.15.0" diff --git a/src/lib.rs b/src/lib.rs index 163e6da..0e397b9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,7 @@ //! //! #[tokio::main] //! async fn main() { -//! dotenv::dotenv::ok(); +//! dotenv::dotenv().ok(); //! let clientid = std::env::var("PAYPAL_CLIENTID").unwrap(); //! let secret = std::env::var("PAYPAL_SECRET").unwrap(); //!