Update futures, actix and request to next major version, refactor to use async/await

This commit is contained in:
Valentin Brandl
2020-02-12 19:45:18 +01:00
parent c7cde6222a
commit dfc49c6b64
6 changed files with 279 additions and 595 deletions

View File

@@ -48,7 +48,7 @@ pub(crate) struct Opt {
pub(crate) logfile: PathBuf,
}
pub(crate) fn init() -> Result<()> {
pub(crate) async fn init() -> Result<()> {
std::env::set_var("RUST_LOG", "actix_web=info,hoc=info");
// pretty_env_logger::init();
openssl_probe::init_ssl_cert_env_vars();