fixup readme & bump rust release

This commit is contained in:
Pierre Dubouilh
2026-05-27 18:10:50 +02:00
committed by Pierre Dubouilh
parent 9d0bc470cc
commit 43392ace03
6 changed files with 14 additions and 10 deletions
+6 -1
View File
@@ -8,7 +8,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4
- name: Format
run: rustup component add rustfmt clippy
- name: Run CI
run: make ci
+3
View File
@@ -12,6 +12,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Format
run: rustup component add rustfmt clippy
- name: Run tests
run: make ci
+3 -4
View File
@@ -46,7 +46,6 @@ Example:
./blockfast --generic-logpath=/tmp/generictest --generic-positive='Failed password' --generic-ip='from ([0-9a-fA-F:.]+) port'
Usage: blockfast [OPTIONS]
Usage: blockfast [OPTIONS]
Options:
--jailtime <JAILTIME>
@@ -60,7 +59,7 @@ Options:
-c, --clf-logpath <CLF_LOGPATH>
path of Common-Log-Format logfile (Apache, etc..)
-j, --json-logpath <JSON_LOGPATH>
path of JSON HTTP logfile (Caddy)
path of JSON logfile (works with Caddy)
--generic-logpath <GENERIC_LOGPATH>
generic parser log file path
--generic-ip <GENERIC_IP>
@@ -69,8 +68,8 @@ Options:
generic parser positive - if a logline contains this, it is considered bad, the rest is good
--generic-negative <GENERIC_NEGATIVE>
generic parser negative - if a logline contains this, it is considered good, the rest is bad
--valid-http-statuses <VALID_HTTP_STATUSES>
valid http statuses (for CLF and JSON logs) [default: 200 101]
--invalid-http-statuses <INVALID_HTTP_STATUSES>
invalid http statuses (for CLF and JSON logs). Coma separated list, accepts ranges with XX [default: 400,401,402,403]
-h, --help
Print help
-V, --version
+1 -1
View File
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.81.0"
channel = "1.95.0"
+1 -3
View File
@@ -116,7 +116,5 @@ async fn run() -> Result<()> {
#[tokio::main]
async fn main() -> Result<()> {
run().await?;
eprintln!("\n");
Ok(())
run().await
}
-1
View File
@@ -97,7 +97,6 @@ Example:
verbatim_doc_comment,
group(ArgGroup::new("generic_match").args(["generic_positive", "generic_negative"])),
)]
pub struct Args {
/// jail time (seconds)
#[clap(long, default_value = "21600")]