0.2.0 |
|
---|---|
0.1.0 |
|
#6 in #verb
12KB
96 行
crurl
简化版 http 客户端,用 Rust 编写!
crurl 0.2.0
Simplified http client
USAGE:
crurl [FLAGS] [OPTIONS] <url>
FLAGS:
--help Prints help information
-h, --headers-only Response headers only
--post Request with POST verb
--put Request with PUT verb
-s, --show-request Display the request
-V, --version Prints version information
OPTIONS:
-B, --body <body> Set request body
-H, --headers <headers>... Set request headers. Ex: "Accept=*/*"
ARGS:
<url> The target url to request
安装
目前仅通过 cargo 安装...
Cargo
首先安装本地 rustup,然后运行 cargo install crurl
,这将从 crates.io 下载二进制包以供使用
依赖关系
~8–19MB
~289K SLoC