Skip to content

Commit

Permalink
Version 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDing committed Jan 11, 2024
1 parent b0ced9c commit 1526f52
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 24 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aget-rs"
version = "0.5.0"
version = "0.5.1"
authors = ["PeterDing <[email protected]>"]
homepage = "https://github.com/PeterDing/aget-rs"
description="Aget-rs - Fast Asynchronous Downloader with Rust 🦀"
Expand Down
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,29 +118,29 @@ Following is the results of using `curl` and `aget-rs`. (For more details, you c
## Options
```
USAGE:
ag [OPTIONS] <URL>
OPTIONS:
-X, --method <method> Request method, e.g. GET, POST. [default: GET]
-H, --header <header>... Request headers, e.g. -H "User-Agent: aget".
-d, --data <data> Request with POST method with the data, e.g. -d "a=b".
-o, --out <out> The path of output for the request e.g. -o "/path/to/file".
-s, --concurrency <concurrency> The number of concurrency request e.g. -s 10 [default: 10]
-k, --chunk-size <chunk-size> The interval length of each concurrent request e.g. -k 100k [default: 1m]
-t, --timeout <timeout> Timeout(seconds) of request [default: 60]
-n, --dns-timeout <dns-timeout> DNS Timeout(seconds) of request [default: 10]
--retries <retries> The maximum times of retring [default: 5]
--retry-wait <retry-wait> The seconds between retries [default: 0]
--type <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> URL to request.
Usage: ag [OPTIONS] <URL>
Arguments:
<URL>
Options:
-m, --method <METHOD> Request method, e.g. GET, POST [default: GET]
-H, --header <HEADER> Request headers, e.g. -H "User-Agent: aget"
-d, --data <DATA> Request with POST method with the data, e.g. -d "a=b"
--insecure Skip to verify the server's TLS certificate
-s, --concurrency <CONCURRENCY> The number of concurrency request [default: 10]
-k, --chunk-size <CHUNK_SIZE> The number ofinterval length of each concurrent request [default: '50m']
-t, --timeout <TIMEOUT> Timeout(seconds) of request [default: 60]
--dns-timeout <DNS_TIMEOUT> DNS Timeout(seconds) of request [default: 10]
--retries <RETRIES> The maximum times of retring [default: 5]
--retry-wait <RETRY_WAIT> The seconds between retries [default: 0]
--proxy <PROXY> [protocol://]host[:port] Use this proxy
--type <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 <OUT> The path of output for the request e.g. -o "/path/to/file"
-h, --help Print help
-V, --version Print version
```
## Configuration
Expand Down

0 comments on commit 1526f52

Please sign in to comment.