diff --git a/.vscode/spellright.dict b/.vscode/spellright.dict index 84b2d2b..6be03f8 100644 --- a/.vscode/spellright.dict +++ b/.vscode/spellright.dict @@ -25,3 +25,4 @@ md typenum rs ecc +rt diff --git a/Cargo.toml b/Cargo.toml index 8cd9274..b1c42f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,8 +50,8 @@ wasm-bindgen-test = "0.3.19" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] futures-util = "0.3.8" -reqwest = "0.10.10" -tokio = "0.2.24" +reqwest = "0.11.0" +tokio = {version = "1.0.1", features = ["rt-multi-thread"]} [[bench]] harness = false diff --git a/src/lib.rs b/src/lib.rs index faded0b..57be6d9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -198,7 +198,7 @@ mod tests { let client = reqwest::Client::new(); let params = [("data", MSG), ("pub", pk_hex.as_str())]; - let mut rt = Runtime::new().unwrap(); + let rt = Runtime::new().unwrap(); let res = rt .block_on( client