Skip to content

Commit

Permalink
bump tokio (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
kigawas authored Jan 7, 2021
1 parent 274a295 commit 1e3fe8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .vscode/spellright.dict
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ md
typenum
rs
ecc
rt
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e3fe8c

Please sign in to comment.