update backend dependencies (#1796)

* update backend dependencies

* update compat
This commit is contained in:
Aiden McClelland
2022-09-12 13:20:40 -06:00
committed by GitHub
parent 27f9869b38
commit 5564154da2
11 changed files with 191 additions and 162 deletions

View File

@@ -44,7 +44,7 @@ fn display_services(services: Vec<OnionAddressV3>, matches: &ArgMatches) {
let row = row![&service.to_string()];
table.add_row(row);
}
table.print_tty(false);
table.print_tty(false).unwrap();
}
#[command(rename = "list-services", display(display_services))]

View File

@@ -215,7 +215,7 @@ fn display_wifi_info(info: WiFiInfo, matches: &ArgMatches) {
&info.country.alpha2(),
&format!("{}", info.ethernet)
]);
table_global.print_tty(false);
table_global.print_tty(false).unwrap();
let mut table_ssids = Table::new();
table_ssids.add_row(row![bc => "SSID", "STRENGTH"]);
@@ -233,7 +233,7 @@ fn display_wifi_info(info: WiFiInfo, matches: &ArgMatches) {
.for_each(drop);
table_ssids.add_row(row);
}
table_ssids.print_tty(false);
table_ssids.print_tty(false).unwrap();
let mut table_global = Table::new();
table_global.add_row(row![bc =>
@@ -249,7 +249,7 @@ fn display_wifi_info(info: WiFiInfo, matches: &ArgMatches) {
]);
}
table_global.print_tty(false);
table_global.print_tty(false).unwrap();
}
fn display_wifi_list(info: Vec<WifiListOut>, matches: &ArgMatches) {
@@ -273,7 +273,7 @@ fn display_wifi_list(info: Vec<WifiListOut>, matches: &ArgMatches) {
]);
}
table_global.print_tty(false);
table_global.print_tty(false).unwrap();
}
#[command(display(display_wifi_info))]