Bump version.

This commit is contained in:
Eduard Tolosa 2020-10-06 22:27:21 -05:00
parent 7dc76e27de
commit e3a30a65e1
4 changed files with 10 additions and 7 deletions

2
Cargo.lock generated
View file

@ -116,7 +116,7 @@ dependencies = [
[[package]]
name = "fhc"
version = "0.3.0"
version = "0.4.0"
dependencies = [
"clap",
"futures",

View file

@ -1,6 +1,6 @@
[package]
name = "fhc"
version = "0.3.0"
version = "0.4.0"
authors = ["Eduard Tolosa <edu4rdshl@protonmail.com>"]
edition = "2018"
description = "Fast HTTP Checker."

9
fhc.1
View file

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH FHC "1" "October 2020" "FHC 0.3.0" "User Commands"
.TH FHC "1" "October 2020" "FHC 0.4.0" "User Commands"
.SH NAME
FHC \- manual page for FHC 0.3.0
FHC \- manual page for FHC 0.4.0
.SH DESCRIPTION
FHC 0.3.0
FHC 0.4.0
Eduard Tolosa <edu4rdshl@protonmail.com>
Fast HTTP Checker.
.SS "USAGE:"
@ -29,6 +29,9 @@ Show URLs with 500\-599 response codes only.
\fB\-h\fR, \fB\-\-help\fR
Prints help information
.TP
\fB\-s\fR, \fB\-\-show\-codes\fR
Show status codes for discovered hosts.
.TP
\fB\-V\fR, \fB\-\-version\fR
Prints version information
.SS "OPTIONS:"

View file

@ -112,8 +112,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
futures::stream::iter(hosts.into_iter().map(|host| {
// HTTP/HTTP URLs
let https_url = format!("https://{}/", host);
let http_url = format!("http://{}/", host);
let https_url = format!("https://{}", host);
let http_url = format!("http://{}", host);
// Create futures
let https_send_fut = client.get(&https_url).send();
let http_send_fut = client.get(&http_url).send();