Feature/tor health checks (#426)

* wip

* wraps up core tor health check feature, still need to fix the boundaries with the rest of embassyd

* need to please borrow checker

* please the borrow checker

* wire it in

* finishes the feature

* Apply suggestions from code review

* fixes tor restart functionality

* makes tor replacement more resilient, adds embassyd service in init and replace
This commit is contained in:
Keagan McClelland
2021-08-26 17:30:22 -06:00
committed by Aiden McClelland
parent 89246b4dd4
commit 982ebc01a4
11 changed files with 358 additions and 46 deletions

13
appmgr/Cargo.lock generated
View File

@@ -2313,6 +2313,7 @@ dependencies = [
"time 0.2.27",
"tokio 1.10.1",
"tokio-native-tls",
"tokio-socks",
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
@@ -3260,6 +3261,18 @@ dependencies = [
"webpki",
]
[[package]]
name = "tokio-socks"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51165dfa029d2a65969413a6cc96f354b86b464498702f174a4efa13608fd8c0"
dependencies = [
"either",
"futures-util",
"thiserror",
"tokio 1.9.0",
]
[[package]]
name = "tokio-stream"
version = "0.1.7"