From 86f00a4c9ccbf33adb485912a7946c638a990bfa Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 12 Feb 2023 14:06:31 +0100 Subject: [PATCH] Add a rusttls feature --- Cargo.toml | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5f7dc5a..36ad3e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,4 @@ env_logger = "0.10.0" log = "0.4.17" http = "0.2.8" serde = { version = "1.0.126", features = ["derive"] } -reqwest = { version = "0.11", features = ["json", "blocking"] } +reqwest = { version = "0.11", features = ["json", "blocking", "rustls"] } diff --git a/src/main.rs b/src/main.rs index a48c27d..f8a73a3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use clap::Parser; use handlebars::Handlebars; -use http::{StatusCode}; +use http::StatusCode; use log::{error, info}; use serde::{Deserialize, Serialize};