From 1526f528000ff799477dd4b77aa9cbb6959ef653 Mon Sep 17 00:00:00 2001 From: PeterDing Date: Thu, 11 Jan 2024 18:08:37 +0800 Subject: [PATCH] Version 0.5.1 --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- README.md | 46 +++++++++++++++++++++++----------------------- 3 files changed, 30 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1255afe..9976705 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.5.1 - 2024-01-11 + +### Added + +- Add option `--insecure` to skip to verify the server's TLS certificate + ## 0.5.0 - 2023-12-15 ### Changed diff --git a/Cargo.toml b/Cargo.toml index a0c9246..26ccfce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aget-rs" -version = "0.5.0" +version = "0.5.1" authors = ["PeterDing "] homepage = "https://github.com/PeterDing/aget-rs" description="Aget-rs - Fast Asynchronous Downloader with Rust 🦀" diff --git a/README.md b/README.md index 1836198..6c44df2 100644 --- a/README.md +++ b/README.md @@ -118,29 +118,29 @@ Following is the results of using `curl` and `aget-rs`. (For more details, you c ## Options ``` -USAGE: - ag [OPTIONS] - -OPTIONS: - -X, --method Request method, e.g. GET, POST. [default: GET] - -H, --header
... Request headers, e.g. -H "User-Agent: aget". - -d, --data Request with POST method with the data, e.g. -d "a=b". - -o, --out The path of output for the request e.g. -o "/path/to/file". - -s, --concurrency The number of concurrency request e.g. -s 10 [default: 10] - -k, --chunk-size The interval length of each concurrent request e.g. -k 100k [default: 1m] - -t, --timeout Timeout(seconds) of request [default: 60] - -n, --dns-timeout DNS Timeout(seconds) of request [default: 10] - --retries The maximum times of retring [default: 5] - --retry-wait The seconds between retries [default: 0] - --type Task type, auto/http/m3u8 [default: auto] - --debug Debug output. Print all trackback for debugging - --quiet Quiet mode. Don't show progress bar and task information. But still show the - error information - -h, --help Print this help message. - -V, --version Show version information. - -ARGS: - URL to request. +Usage: ag [OPTIONS] + +Arguments: + + +Options: + -m, --method Request method, e.g. GET, POST [default: GET] + -H, --header
Request headers, e.g. -H "User-Agent: aget" + -d, --data Request with POST method with the data, e.g. -d "a=b" + --insecure Skip to verify the server's TLS certificate + -s, --concurrency The number of concurrency request [default: 10] + -k, --chunk-size The number ofinterval length of each concurrent request [default: '50m'] + -t, --timeout Timeout(seconds) of request [default: 60] + --dns-timeout DNS Timeout(seconds) of request [default: 10] + --retries The maximum times of retring [default: 5] + --retry-wait The seconds between retries [default: 0] + --proxy [protocol://]host[:port] Use this proxy + --type Task type, auto/http/m3u8 [default: auto] + --debug Debug output. Print all trackback for debugging + --quiet Quiet mode. Don't show progress bar and task information. But still show the error information + -o, --out The path of output for the request e.g. -o "/path/to/file" + -h, --help Print help + -V, --version Print version ``` ## Configuration