Feature/wifi (#409)

* initial commit for wifi feature

* implements wifi.get

* implements signal strength, removes macro system, makes compatible with rust stable

* remove selected row from wifi info

* refactor to correctly use rpc-toolkit

* remove redundant line from invoke error rendering

* Apply suggestions from code review

* adds display for wifi.get

* use invoke

* use remove

* use tokio native timeout

* use correct null output

* Apply suggestions from code review

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>

* fix borrowing issues

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
This commit is contained in:
Keagan McClelland
2021-08-19 12:26:16 -06:00
committed by Aiden McClelland
parent da5a0d622b
commit 6c7dc71ed4
6 changed files with 554 additions and 4 deletions

11
appmgr/Cargo.lock generated
View File

@@ -802,6 +802,7 @@ dependencies = [
"http",
"hyper-ws-listener",
"indexmap",
"isocountry",
"itertools 0.10.1",
"jsonpath_lib",
"lazy_static",
@@ -1392,6 +1393,16 @@ version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9"
[[package]]
name = "isocountry"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ea1dc4bf0fb4904ba83ffdb98af3d9c325274e92e6e295e4151e86c96363e04"
dependencies = [
"serde",
"thiserror",
]
[[package]]
name = "itertools"
version = "0.8.2"