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(); //!