Revert "Upgrade in-tree tokio 0.2 usage to tokio 0.3"

This reverts commit 444ed768dc.
This commit is contained in:
Michael Vines
2020-12-30 20:55:41 -08:00
committed by mergify[bot]
parent 2d8dacb72b
commit 3d077fb656
9 changed files with 75 additions and 60 deletions

View File

@ -35,7 +35,7 @@ solana-transaction-status = { path = "../transaction-status", version = "1.6.0"
solana-version = { path = "../version", version = "1.6.0" }
solana-vote-program = { path = "../programs/vote", version = "1.6.0" }
tempfile = "3.1.0"
tokio = { version = "0.3", features = ["full"] }
tokio = { version = "0.2.22", features = ["full"] }
[dev-dependencies]
assert_cmd = "1.0"

View File

@ -378,7 +378,7 @@ impl BigTableSubCommand for App<'_, '_> {
}
pub fn bigtable_process_command(ledger_path: &Path, matches: &ArgMatches<'_>) {
let runtime = tokio::runtime::Runtime::new().unwrap();
let mut runtime = tokio::runtime::Runtime::new().unwrap();
let future = match matches.subcommand() {
("upload", Some(arg_matches)) => {